We can finally rest...
This commit is contained in:
parent
e5fe71ce46
commit
7846f80f11
2 changed files with 8 additions and 5 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// Program is started from here, runs functions from other files.
|
||||
import { userInput, calcLocation, radPointsCalc, healthCapCalc, checkLose } from './functions.js';
|
||||
import { userInput, calcLocation, radPointsCalc, healthCapCalc, checkLose, sleep } from './functions.js';
|
||||
import { pois, poiCounter } from './poiscreens.js';
|
||||
import { name, prewarmoney } from './variables.js';
|
||||
|
||||
|
|
@ -34,7 +34,7 @@ switch(mainMenuInput) {
|
|||
console.log("Quitting Game...");
|
||||
break;
|
||||
case "4":
|
||||
console.log(pois[poiCounter]);
|
||||
sleep(5);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue