summaryrefslogtreecommitdiff
path: root/scripts/actors
diff options
context:
space:
mode:
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);
}
}