maint: changed text to be more clear when a source has no target when dealt damage
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user