Fixed #11649
This commit is contained in:
@@ -58,6 +58,7 @@ public class SNet implements SteamNetworkingCallback, SteamMatchmakingCallback,
|
||||
readBuffer.limit(len);
|
||||
readCopyBuffer.position(0);
|
||||
readCopyBuffer.put(readBuffer);
|
||||
readCopyBuffer.limit(len);
|
||||
readCopyBuffer.position(0);
|
||||
int fromID = from.getAccountID();
|
||||
Object output = serializer.read(readCopyBuffer);
|
||||
@@ -201,7 +202,7 @@ public class SNet implements SteamNetworkingCallback, SteamMatchmakingCallback,
|
||||
smat.setLobbyMemberLimit(currentLobby, Core.settings.getInt("playerlimit"));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void updateWave(){
|
||||
if(currentLobby != null && net.server()){
|
||||
smat.setLobbyData(currentLobby, "mapname", state.map.name());
|
||||
|
||||
Reference in New Issue
Block a user