Pause inputListner at end of sim:

- This prevents displaying a menu and
	all the input is taken by the input
	thread. In such case, the user can't
	use the menu or exit normally.
This commit is contained in:
HeshamTB 2020-12-03 03:36:59 +03:00
parent 787d2a7fd7
commit 0e4f871770
Signed by: Hesham
GPG Key ID: 74876157D199B09E

View File

@ -135,6 +135,7 @@ public class MakkahCity {
lastDayTimeMan.step(Calendar.MINUTE, 1);
}
//When done show menu to analyze. Exit from menu too.
inputListener.pause();
startMenu();
}