Fix makeghostrole eui (#19998)

This commit is contained in:
metalgearsloth
2023-09-11 14:31:45 +10:00
committed by GitHub
parent 497294219a
commit 3c0439167a
5 changed files with 69 additions and 71 deletions

View File

@@ -119,7 +119,7 @@ namespace Content.Server.Ghost.Roles
if (_openMakeGhostRoleUis.ContainsKey(session))
CloseEui(session);
var eui = _openMakeGhostRoleUis[session] = new MakeGhostRoleEui(uid);
var eui = _openMakeGhostRoleUis[session] = new MakeGhostRoleEui(EntityManager, GetNetEntity(uid));
_euiManager.OpenEui(eui, session);
eui.StateDirty();
}