Commit 00a73582 authored by tgw3ff's avatar tgw3ff
Browse files

Merge map-generator and ActorManager branches into master

parent 9152e61f
58046
C:\Users\Username\Desktop\Godot_v3.2.3-stable_mono_win64\Godot_v3.2.3-stable_mono_win64.exe
......@@ -21,7 +21,7 @@ func _ready():
# use this if you want to only move on keypress
func _unhandled_input(event):
for dir in inputs.keys():
if event.is_action_pressed(dir) and (get_node("../TurnManager/ActionManager").currActor == "Player"):
if event.is_action_pressed(dir) and (get_node("../../TurnManager/ActionManager").currActor == "Player"):
if dir != direction:
if dir == "right":
get_node(texture_node).set_flip_h(false)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment