set coins and points back to 0 on start

This commit is contained in:
2022-08-29 21:44:08 -04:00
parent 53c17f9e43
commit 5c671a2fec

View File

@@ -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