summaryrefslogtreecommitdiff
path: root/godot/ui/HUD.gd
diff options
context:
space:
mode:
authorAnson Bridges <bridges.anson@gmail.com>2022-09-22 08:24:37 -0400
committerAnson Bridges <bridges.anson@gmail.com>2022-09-22 08:24:37 -0400
commit62039380a67b6da396d1c8d745d2e2625ba988fc (patch)
tree59141eb09d8f68fe87f9d263dd33dd3fd4830724 /godot/ui/HUD.gd
parent123c1a2d9a5034902468b9f3ae5a139fff5c2f95 (diff)
network lag? camera and movement controller merged to same gdnative script
Diffstat (limited to 'godot/ui/HUD.gd')
-rw-r--r--godot/ui/HUD.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/godot/ui/HUD.gd b/godot/ui/HUD.gd
index 9bbcae1..6c45113 100644
--- a/godot/ui/HUD.gd
+++ b/godot/ui/HUD.gd
@@ -69,6 +69,7 @@ func update_characters():
for btn in character_list.get_children():
btn.queue_free()
for character in world.get_node("PLAYERS").get_children():
+ print(character.team)
if world.player_team == character.team:
var select_button = Button.new()
select_button.connect("pressed", world, "select_character", [character.name])