fix bug that causes monitor's start time to be higher than 0 when entering player info

This commit is contained in:
Chris Cromer 2022-09-03 22:46:35 -04:00
parent 54cea89810
commit 0a54849e5f
Signed by: cromer
GPG Key ID: FA91071797BEEEC2

View File

@ -142,6 +142,7 @@ func _on_input_validated(validated_player: Dictionary) -> void:
Event.emit_signal("game_started") Event.emit_signal("game_started")
player = validated_player.duplicate(true) player = validated_player.duplicate(true)
game["player"] = player game["player"] = player
start_monitor()
func _object_created(name: String, state: String, position: Vector2, velocity: Vector2) -> void: func _object_created(name: String, state: String, position: Vector2, velocity: Vector2) -> void: