From 5c671a2fec5f42c2f8bf26028c4f6cf9f6632904 Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Mon, 29 Aug 2022 21:44:08 -0400 Subject: [PATCH] set coins and points back to 0 on start --- godot/monitor/Monitor.gd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/godot/monitor/Monitor.gd b/godot/monitor/Monitor.gd index 80ada27..5e34c64 100644 --- a/godot/monitor/Monitor.gd +++ b/godot/monitor/Monitor.gd @@ -161,6 +161,8 @@ func start_monitor() -> void: frames.clear() game["level_id"] = 2 # PrototypeR game["won"] = false + coins = 0 + points = 0 game["timestamp"] = int(Time.get_unix_time_from_system()) start_time = Time.get_ticks_msec() started = true -- 2.30.2