Ahelp / player list changes (#11392)
This commit is contained in:
@@ -35,11 +35,11 @@ namespace Content.Client.Administration
|
||||
foreach (var playerInfo in _system.PlayerList)
|
||||
{
|
||||
// Otherwise the entity can not exist yet
|
||||
var entity = playerInfo.EntityUid;
|
||||
if (!_entityManager.EntityExists(entity))
|
||||
if (!_entityManager.EntityExists(playerInfo.EntityUid))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
var entity = playerInfo.EntityUid.Value;
|
||||
|
||||
// if not on the same map, continue
|
||||
if (_entityManager.GetComponent<TransformComponent>(entity).MapID != _eyeManager.CurrentMap)
|
||||
|
||||
Reference in New Issue
Block a user