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

Merge map-generator and ActorManager branches into master

parent 9152e61f
......@@ -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":
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