set coins and points back to 0 on start #41

Merged
cromer merged 1 commits from feature/monitor into develop 2022-08-29 21:45:36 -04:00

View File

@ -161,6 +161,8 @@ func start_monitor() -> void:
frames.clear() frames.clear()
game["level_id"] = 2 # PrototypeR game["level_id"] = 2 # PrototypeR
game["won"] = false game["won"] = false
coins = 0
points = 0
game["timestamp"] = int(Time.get_unix_time_from_system()) game["timestamp"] = int(Time.get_unix_time_from_system())
start_time = Time.get_ticks_msec() start_time = Time.get_ticks_msec()
started = true started = true