Cleanup hot seat pre-game settings

This commit is contained in:
Sch1nken 2024-03-30 01:52:04 +01:00
parent 2343638749
commit d5d4b8eed1
3 changed files with 14 additions and 1 deletions

View file

@ -6,7 +6,13 @@ extends Control
@onready var pillbug_checkbutton = $PanelContainer/VBoxContainer/HBoxContainer4/PillbugCheckbutton
@onready var start_game_button = $PanelContainer/VBoxContainer/StartGameButton
@onready var h_box_container = $PanelContainer/VBoxContainer/HBoxContainer
func _ready() -> void:
if GameData.is_hot_seat:
h_box_container.visible = false
if not multiplayer.is_server():
host_color_option.disabled = true
ladybug_checkbutton.disabled = true