diff options
Diffstat (limited to 'client')
| -rw-r--r-- | client/gui/overlays/lobby/lobby.gd | 8 | ||||
| -rw-r--r-- | client/gui/overlays/lobby/lobby.tscn | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/client/gui/overlays/lobby/lobby.gd b/client/gui/overlays/lobby/lobby.gd index 23d6036f..954ae069 100644 --- a/client/gui/overlays/lobby/lobby.gd +++ b/client/gui/overlays/lobby/lobby.gd @@ -51,7 +51,6 @@ func _ready(): game.join_state_updated.connect(_update_visible) game.in_lobby_updated.connect(_update_visible) _update_visible(false) - check_for_music() func initialize(): map_count = game.maps.size() @@ -164,17 +163,10 @@ func _on_start_pressed(): start_msg += "\ncreate-bot %s" % k game.mp.send_chat(game.my_player_id, start_msg) - Sound.set_music(null) # TODO: Game music enter func _update_visible(_state: bool): visible = game.in_lobby and game.join_state == Game.JoinState.JOINED -func check_for_music(): - if visible: - Sound.set_music(null) # TODO: lobby music - else: - Sound.set_music(null) - func _on_enable_bots_toggled(toggled_on): bots_enabled = toggled_on bot_settings_conainer.visible = toggled_on diff --git a/client/gui/overlays/lobby/lobby.tscn b/client/gui/overlays/lobby/lobby.tscn index 28959838..673f7540 100644 --- a/client/gui/overlays/lobby/lobby.tscn +++ b/client/gui/overlays/lobby/lobby.tscn @@ -175,7 +175,6 @@ controller_texture = ExtResource("9_q14bw") press_action = "start_game" metadata/_custom_type_script = "uid://b1eomxildrq30" -[connection signal="visibility_changed" from="." to="." method="check_for_music"] [connection signal="pressed" from="Sidebar/Bottom/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer/Left" to="." method="_on_left_pressed"] [connection signal="pressed" from="Sidebar/Bottom/MarginContainer/VBoxContainer/HBoxContainer/VBoxContainer2/Right" to="." method="_on_right_pressed"] [connection signal="toggled" from="Sidebar/Bottom/MarginContainer/VBoxContainer/Bots/EnableBots" to="." method="_on_enable_bots_toggled"] |