Teamlimit errors preventing changerace with Zombie Reloaded V3 running
Currently you might be unable to change race due to a teamlimit related exception, if you combine WCS with Zombie Reloaded V3. I suspect it is due to team change messages being suppressed by stopping the player_team event. It will probably be an issue with any zombie mod.
https://discord.com/channels/270625743946514433/680193005449510930/941070339948027944
I have a patch in the works that should improve the error handling from teamlimit errors. It does not guarantee that the teamlimit data is always up to date, but it at least gives a warning if something goes wrong.
~For the main issue i would suggest investigating whether changing @Event('player_team') to @PreEvent('player_team') in wcs.py would be enough to fix this specific issue.~
#88 lets you change race instead it getting interrupted by the exception. But if using Zombie Reloaded the team limit is not updated when you:
- Change team (The team change menu doesn't even close properly)
- Join a team from spectator/unassigned
- The game forces you to change team.
Not sure if there is a good way to handle it.