summaryrefslogtreecommitdiff
path: root/scripts/actors
diff options
context:
space:
mode:
authorMatheus <matheus.guedes.mg.m@gmail.com>2025-09-01 17:50:25 -0300
committerMatheus <matheus.guedes.mg.m@gmail.com>2025-09-01 17:50:25 -0300
commit0456e7cd82b232a38fd9b6e008be7d49b2f9e90f (patch)
treeea2285eaca0d68c269d07212bc6a1e3688b9aef8 /scripts/actors
parentd7d2454d5ccc1e0acb47cb679c7550e74c4e1916 (diff)
Logs
Diffstat (limited to 'scripts/actors')
-rw-r--r--scripts/actors/Actor.cs2
-rw-r--r--scripts/actors/actions/MeleeAction.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/actors/Actor.cs b/scripts/actors/Actor.cs
index 06cfd69..c03c8fa 100644
--- a/scripts/actors/Actor.cs
+++ b/scripts/actors/Actor.cs
@@ -236,7 +236,7 @@ public abstract partial class Actor : Sprite2D
deathMessage = $"{ActorName} morreu!";
}
- GD.Print(deathMessage);
+ MessageLog.SendMessage(deathMessage);
Texture = definition.deathTexture;
blocksMovement = false;
diff --git a/scripts/actors/actions/MeleeAction.cs b/scripts/actors/actions/MeleeAction.cs
index fe00422..e739159 100644
--- a/scripts/actors/actions/MeleeAction.cs
+++ b/scripts/actors/actions/MeleeAction.cs
@@ -33,6 +33,6 @@ public partial class MeleeAction : DirectionalAction
attackDesc += $" mas {target.ActorName} tem músculos de aço.";
}
- GD.Print(attackDesc);
+ MessageLog.SendMessage(attackDesc);
}
}