Fix explosion log crash
This commit is contained in:
@@ -356,7 +356,7 @@ namespace Content.Server.Explosion.EntitySystems
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
_logSystem.Add(LogType.Explosion, LogImpact.High,
|
_logSystem.Add(LogType.Explosion, LogImpact.High,
|
||||||
$"{entity.Value} caused {entity.Value} to explode at {text}");
|
$"{user.Value} caused {entity.Value} to explode at {text}");
|
||||||
}
|
}
|
||||||
|
|
||||||
var maxRange = MathHelper.Max(devastationRange, heavyImpactRange, lightImpactRange, 0);
|
var maxRange = MathHelper.Max(devastationRange, heavyImpactRange, lightImpactRange, 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user