fix monitor bug where player info wasn't being sent

This commit is contained in:
Chris Cromer 2022-08-14 12:42:49 -04:00
parent 0ca95eacce
commit 8e5c035675
Signed by: cromer
GPG Key ID: FA91071797BEEEC2

View File

@ -129,6 +129,7 @@ func _on_input_validated(validated_player: Dictionary) -> void:
$MonitorGUI.queue_free() $MonitorGUI.queue_free()
get_tree().paused = false get_tree().paused = false
player = validated_player.duplicate(true) player = validated_player.duplicate(true)
game["player"] = player
func _object_created(name: String, state: String, position: Vector2, velocity: Vector2) -> void: func _object_created(name: String, state: String, position: Vector2, velocity: Vector2) -> void: