
You are viewing a potentially older version of this package. View Latest Version
StuckMatchFix
Fixes multiplayer matches getting stuck on the map before card pick when a player rejoined the lobby (ModdingUtils AI-minion bug).StuckMatchFix
Fixes multiplayer matches that load the map and then never reach card pick.
The bug: before each card pick, ModdingUtils rebuilds the player list by asking for player 0, 1, 2 ... in order. It empties the list first. If the player IDs have a gap (someone left and rejoined the lobby), it crashes halfway, the player list is left empty, and the match freezes for everyone.
The fix: builds the same list sorted by player ID without assuming there are no gaps, and only swaps it in once it is complete. With no gaps the result is identical to the original.
Every player in the lobby needs this mod, because the step runs on each player's own game.