Suicide2 (#8117)
* Fix toilet suicide * Fix ghost ghosting * Clean suicide system
This commit is contained in:
@@ -154,7 +154,7 @@ namespace Content.Server.GameTicking
|
||||
if (handleEv.Handled)
|
||||
return handleEv.Result;
|
||||
|
||||
var playerEntity = mind.OwnedEntity;
|
||||
var playerEntity = mind.CurrentEntity;
|
||||
|
||||
var entities = IoCManager.Resolve<IEntityManager>();
|
||||
if (entities.HasComponent<GhostComponent>(playerEntity))
|
||||
|
||||
Reference in New Issue
Block a user