MatchZy is a plugin for CS2 (Counter Strike 2) for running and managing practice/pugs/scrims/matches with easy configuration and Get5 (G5API/G5V) support as well!
Discovered this bug when developing a fork. When a match is loaded, players are not swapped to their correct teams.
However, the map veto process assumes they are, so when the veto starts it will select captains based on in-game teams.
Example:
Match loaded
team1 is Terrorists
team2 is CTs
A player from team2 is current on the Terrorist team
Map veto starts
The team2 player that is currently on Terrorist is selected as the captain for team1 (wrong)
All this does is swap players to their correct teams and enforce jointeam restrictions during the veto process.
Discovered this bug when developing a fork. When a match is loaded, players are not swapped to their correct teams. However, the map veto process assumes they are, so when the veto starts it will select captains based on in-game teams.
Example:
All this does is swap players to their correct teams and enforce jointeam restrictions during the veto process.