maint: changed text to be more clear when a source has no target when dealt damage

This commit is contained in:
Chris
2025-10-08 22:57:14 -04:00
parent 7210ed71a9
commit 17cba13db5

View File

@@ -27,7 +27,7 @@ namespace Reset.Core {
if (damageSource.value.source != null) {
Debug.LogError($"Target {target.name} cannot be dealt damage as it does not implement the IDamageable interface. It was attempted an attack by {damageSource.value.source}");
} else {
Debug.LogError($"Target {target.name} cannot be dealt damage as it does not implement the IDamageable interface. This attack has no source.");
Debug.LogError($"Target {target.name} cannot be dealt damage as it does not implement the IDamageable interface.");
}
continue;