feat: add PowerUpInventoryUI script to display and manage player power-ups with single-slot visibility.

This commit is contained in:
Yogi Wiguna
2026-03-12 12:32:49 +08:00
parent 3853962e4a
commit 739489cd6f
+1 -1
View File
@@ -120,7 +120,7 @@ func _update_btn_shortcut(_effect_id: int, btn: Button):
return
# Show only Shortcut 1 as per single-slot request
sc_lbl.text = "[%s]" % SettingsManager.get_control_text("use_powerup")
sc_lbl.text = " %s " % SettingsManager.get_control_text("use_powerup")
func _on_btn_pressed(effect_id: int):
print("[PowerUpUI] Clicked Button %d" % effect_id)