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:
parent
787d2a7fd7
commit
0e4f871770
@ -135,6 +135,7 @@ public class MakkahCity {
|
|||||||
lastDayTimeMan.step(Calendar.MINUTE, 1);
|
lastDayTimeMan.step(Calendar.MINUTE, 1);
|
||||||
}
|
}
|
||||||
//When done show menu to analyze. Exit from menu too.
|
//When done show menu to analyze. Exit from menu too.
|
||||||
|
inputListener.pause();
|
||||||
startMenu();
|
startMenu();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user