fix(candy-survival): map interact/delivery input to action_grab instead of nonexistent action_interact
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user