summaryrefslogtreecommitdiff
path: root/scripts/Game.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Game.cs')
-rw-r--r--scripts/Game.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Game.cs b/scripts/Game.cs
index 21531fc..067f4a4 100644
--- a/scripts/Game.cs
+++ b/scripts/Game.cs
@@ -19,10 +19,10 @@ public partial class Game : Node {
public override void _PhysicsProcess(double delta) {
base._PhysicsProcess(delta);
- Action action = inputHandler.GetAction();
+ Action action = inputHandler.GetAction(player);
if (action != null) {
- action.Perform(this, player);
+ action.Perform();
HandleEnemyTurns();
}
}