]> Untitled Git - frog-ninja.git/blobdiff - player/moves/Move.gd
Fixed MCV breakage by having Player manually associate skin with visuals, still not...
[frog-ninja.git] / player / moves / Move.gd
index 7aee9eec87ab6d16db2e6dd168ff2501e2a8286d..d98363a814341de76445831dbe69bd64d4070262 100644 (file)
@@ -27,9 +27,9 @@ static func moves_priority_sort(a: String, b: String):
 
 func should_enter(input: InputPacket) -> String:
        if not player.is_on_floor():
 
 func should_enter(input: InputPacket) -> String:
        if not player.is_on_floor():
-               input.actions.append("fall")
-       input.actions.sort_custom(moves_priority_sort)
-       return input.actions[0]
+               input.player_actions.append("fall")
+       input.player_actions.sort_custom(moves_priority_sort)
+       return input.player_actions[0]
 
 
 func update(_input: InputPacket, _delta: float):
 
 
 func update(_input: InputPacket, _delta: float):