diff options
Diffstat (limited to 'scripts/actors')
| -rw-r--r-- | scripts/actors/Actor.cs | 2 | ||||
| -rw-r--r-- | scripts/actors/actions/MeleeAction.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/actors/Actor.cs b/scripts/actors/Actor.cs index c03c8fa..2d22d44 100644 --- a/scripts/actors/Actor.cs +++ b/scripts/actors/Actor.cs @@ -236,7 +236,7 @@ public abstract partial class Actor : Sprite2D deathMessage = $"{ActorName} morreu!"; } - MessageLog.SendMessage(deathMessage); + MessageLogData.Instance.AddMessage(deathMessage); Texture = definition.deathTexture; blocksMovement = false; diff --git a/scripts/actors/actions/MeleeAction.cs b/scripts/actors/actions/MeleeAction.cs index e739159..ae94eff 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."; } - MessageLog.SendMessage(attackDesc); + MessageLogData.Instance.AddMessage(attackDesc); } } |
