summaryrefslogtreecommitdiff
path: root/scripts/entities/actors/actions/BumpAction.cs
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/entities/actors/actions/BumpAction.cs')
-rw-r--r--scripts/entities/actors/actions/BumpAction.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/entities/actors/actions/BumpAction.cs b/scripts/entities/actors/actions/BumpAction.cs
index 805520c..bee202b 100644
--- a/scripts/entities/actors/actions/BumpAction.cs
+++ b/scripts/entities/actors/actions/BumpAction.cs
@@ -19,7 +19,7 @@ public partial class BumpAction : DirectionalAction
Action action;
// Se houver um ator no destino, crie uma ação de ataque.
- if (GetTargetActor() != null) {
+ if (GetTarget() != null) {
action = new MeleeAction(actor, Offset);
} else {
// Mas se não houver, crie uma ação de movimento.