Fix keybindings for head

This commit is contained in:
karl 2020-02-02 16:08:18 +01:00
parent ba529f86a1
commit 8ff4e6b905

View File

@ -48,6 +48,8 @@ func _ready():
_torso.get_node("UpBackLeft").key = KEY_W _torso.get_node("UpBackLeft").key = KEY_W
_torso.get_node("UpBackRight").key = KEY_Q _torso.get_node("UpBackRight").key = KEY_Q
_torso.get_node("Head").key = KEY_C
func change_count_ui(): func change_count_ui():
if done_player_count == null: if done_player_count == null:
@ -67,6 +69,8 @@ func change_count_ui():
_torso.get_node("UpBackLeft").key = KEY_I _torso.get_node("UpBackLeft").key = KEY_I
_torso.get_node("UpBackRight").key = KEY_O _torso.get_node("UpBackRight").key = KEY_O
_torso.get_node("Head").key = KEY_M
func _process(delta): func _process(delta):
# TODO: Would be nicer to just disable gravity, but then it can't be re-enabled... # TODO: Would be nicer to just disable gravity, but then it can't be re-enabled...