fix bug that causes monitor's start time to be higher than 0 when entering player info
This commit is contained in:
parent
54cea89810
commit
0a54849e5f
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user