set coins and points back to 0 on start

This commit is contained in:
Chris Cromer 2022-08-29 21:44:08 -04:00
parent 53c17f9e43
commit 5c671a2fec
Signed by: cromer
GPG Key ID: FA91071797BEEEC2
1 changed files with 2 additions and 0 deletions

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