introduction of items
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
var desktop_mode = true;
|
||||
var tick_meter_running = false;
|
||||
|
||||
async function prepare_gamestate() {
|
||||
var gamestate_loaded = null;
|
||||
@@ -18,6 +19,8 @@ async function prepare_gamestate() {
|
||||
gamestate = JSON.parse(gamestate_loaded);
|
||||
record_log("Welcome back! Game loaded.")
|
||||
}
|
||||
|
||||
tick_meter_running = true;
|
||||
}
|
||||
|
||||
function save_game() {
|
||||
@@ -25,8 +28,6 @@ function save_game() {
|
||||
record_log("Game saved.");
|
||||
}
|
||||
|
||||
var tick_meter_running = true;
|
||||
|
||||
function reset_game() {
|
||||
tick_meter_running = false;
|
||||
window.pywebview.api.delete_data("gamestate");
|
||||
|
Reference in New Issue
Block a user