summaryrefslogtreecommitdiff
path: root/scripts/entities/actors/actions/BumpAction.cs
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-09-04 16:58:58 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-09-04 16:58:58 -0300
commit6f2c2edd52171a4df7f35de695c9b2e7801d3e5f (patch)
tree509002136987182309a934623b19d19393e306e3 /scripts/entities/actors/actions/BumpAction.cs
parent9953c9a5818baa392a48a4d18339c73f3b7a814e (diff)
Preparação para itens
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.