feat: Implement tile scarcity model for tile generation and power-up inventory UI for player interaction.
This commit is contained in:
@@ -245,11 +245,13 @@ func _ensure_shortcut_label(btn: Button, button_name: String):
|
||||
if btn.has_node("ShortcutLabel"):
|
||||
# Update Label content if it exists to match potential remapping
|
||||
var existing_lbl = btn.get_node("ShortcutLabel")
|
||||
var is_sng = LobbyManager.game_mode == "Stop n Go"
|
||||
|
||||
match button_name:
|
||||
"Grab": existing_lbl.text = "Space"
|
||||
"Grab": existing_lbl.text = "Space" if is_sng else ""
|
||||
"Put": existing_lbl.text = ""
|
||||
"AttackMode": existing_lbl.text = "Q"
|
||||
"SpawnBoost": existing_lbl.text = "E"
|
||||
"AttackMode": existing_lbl.text = "Q" if is_sng else ""
|
||||
"SpawnBoost": existing_lbl.text = "E" if is_sng else ""
|
||||
return
|
||||
|
||||
# Add Keyboard Shortcut Label
|
||||
|
||||
Reference in New Issue
Block a user