Fix release compile.

This commit is contained in:
Pieter-Jan Briers
2021-11-09 15:35:26 +01:00
parent 079e099a3b
commit 17164ead34

View File

@@ -143,7 +143,7 @@ namespace Robust.Server.Player
return;
#if EXCEPTION_TOLERANCE
if (AttachedEntity.Deleted)
if (AttachedEntity!.Deleted)
{
Logger.Warning($"Player \"{this}\" was attached to an entity that was deleted. THIS SHOULD NEVER HAPPEN, BUT DOES.");
// We can't contact ActorSystem because trying to fire an entity event would crash.