Update app.js
parent
fa83257fc1
commit
5cdc232853
|
|
@ -423,6 +423,10 @@ function newInnings() {
|
||||||
}
|
}
|
||||||
// initialise file in storage
|
// initialise file in storage
|
||||||
var file = require("Storage").open("matchlog.csv","a");
|
var file = require("Storage").open("matchlog.csv","a");
|
||||||
|
// save state on exit TODO WIP
|
||||||
|
E.on("kill", function() {
|
||||||
|
console.log("Umpire app closed");
|
||||||
|
});
|
||||||
// start app
|
// start app
|
||||||
newInnings(); // prepare 1st innings
|
newInnings(); // prepare 1st innings
|
||||||
var menu = showMainMenu(); // ready to play
|
var menu = showMainMenu(); // ready to play
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue