NT Block Arcade correct session registeration (#6202)
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
This commit is contained in:
@@ -56,7 +56,10 @@ namespace Content.Server.Arcade.Components
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
UserInterface?.Toggle(actor.PlayerSession);
|
UserInterface?.Toggle(actor.PlayerSession);
|
||||||
RegisterPlayerSession(actor.PlayerSession);
|
if (UserInterface?.SessionHasOpen(actor.PlayerSession) == true)
|
||||||
|
{
|
||||||
|
RegisterPlayerSession(actor.PlayerSession);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void RegisterPlayerSession(IPlayerSession session)
|
private void RegisterPlayerSession(IPlayerSession session)
|
||||||
|
|||||||
Reference in New Issue
Block a user