This commit is contained in:
Anuken
2026-02-16 12:47:54 -05:00
parent f34ddc8d9b
commit 4aa78c6a11

View File

@@ -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());