mirror of
https://github.com/MrOkiDoki/BattleBit-Community-Server-API.git
synced 2025-01-09 11:17:30 -03:00
Merge pull request #83 from MrOkiDoki/develop
Gameserver null during disconnect fix.ed
This commit is contained in:
commit
6b47c9913e
2 changed files with 4 additions and 4 deletions
|
@ -961,12 +961,12 @@ namespace BattleBitAPI.Server
|
|||
server.OnPlayerLeftSquad((TPlayer)player, msquad);
|
||||
}
|
||||
|
||||
@internal.SessionID = 0;
|
||||
@internal.GameServer = null;
|
||||
|
||||
player.OnDisconnected();
|
||||
server.OnPlayerDisconnected((TPlayer)player);
|
||||
|
||||
@internal.SessionID = 0;
|
||||
@internal.GameServer = null;
|
||||
|
||||
if (this.LogLevel.HasFlag(LogLevel.Players))
|
||||
OnLog(LogLevel.Players, $"{player} has disconnected", player);
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<PackageProjectUrl>https://github.com/MrOkiDoki/BattleBit-Community-Server-API</PackageProjectUrl>
|
||||
<RepositoryUrl>https://github.com/MrOkiDoki/BattleBit-Community-Server-API</RepositoryUrl>
|
||||
<PackageTags>BattleBit</PackageTags>
|
||||
<Version>1.0.7</Version>
|
||||
<Version>1.0.7.1</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
Loading…
Reference in a new issue