fix(candy-survival): map interact/delivery input to action_grab instead of nonexistent action_interact

This commit is contained in:
2026-07-08 15:42:24 +08:00
parent 38d09a50e7
commit 47ba6e2456
+1 -1
View File
@@ -127,7 +127,7 @@ func handle_unhandled_input(event):
player.enter_attack_mode() player.enter_attack_mode()
get_viewport().set_input_as_handled() get_viewport().set_input_as_handled()
elif event.is_action_pressed("action_interact"): elif event.is_action_pressed("action_grab"):
if LobbyManager.game_mode == "Candy Survival": if LobbyManager.game_mode == "Candy Survival":
var gm = player.get_node_or_null("/root/Main/CandySurvivalManager") var gm = player.get_node_or_null("/root/Main/CandySurvivalManager")
if gm and gm.active: if gm and gm.active: