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

Merged
cromer merged 1 commits from feature/fix_monitor into develop 2022-09-22 15:58:59 -03:00
Showing only changes of commit 0a54849e5f - Show all commits

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: