Fixed sleep function issue and writing to global variables.
This commit is contained in:
parent
dbd27cfa7d
commit
fdd58af63e
4 changed files with 37 additions and 31 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// Holds poi code, seperate from encounters.js
|
||||
|
||||
import { userInput } from "./functions.js";
|
||||
import { location, locationA, locationB, path } from "./variables.js";
|
||||
import './variables.js';
|
||||
|
||||
export function checkPOI() {
|
||||
if (path == 0) {
|
||||
|
|
@ -91,8 +91,8 @@ export function checkPOI() {
|
|||
}
|
||||
}
|
||||
|
||||
export var poiCounter = 0;
|
||||
export var pois = [
|
||||
global.poiCounter = 0;
|
||||
global.pois = [
|
||||
{name: "Whitespring Bunker", location: 25, path: 0, visited: false},
|
||||
{name: "BOS Bunker Gamma", location: 100, path: 0, visited: false},
|
||||
{name: "BOS Bunker Delta", location: 125, path: 0, visited: false},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue