Merge pull request 'fix bug that causes monitor's start time to be higher than 0 when entering player info' (#51) from feature/fix_monitor into develop

Reviewed-on: #51
This commit is contained in:
Chris Cromer 2022-09-22 15:58:58 -03:00
commit 7ecaa95045

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: