Content BUI changes for engine PR (#10308)

This commit is contained in:
Leon Friedrich
2022-08-06 16:59:02 +12:00
committed by GitHub
parent 9b662c3b62
commit e06ea56eb2
68 changed files with 78 additions and 85 deletions

View File

@@ -48,7 +48,7 @@ namespace Content.Server.Arcade.Components
UpdatePlayerStatus(temp);
}
private void UnRegisterPlayerSession(IPlayerSession session)
public void UnRegisterPlayerSession(IPlayerSession session)
{
if (_player == session)
{
@@ -72,7 +72,6 @@ namespace Content.Server.Arcade.Components
if (UserInterface != null)
{
UserInterface.OnReceiveMessage += UserInterfaceOnOnReceiveMessage;
UserInterface.OnClosed += UnRegisterPlayerSession;
}
_game = new BlockGame(this);
}