Fix special class gamemodes

This commit is contained in:
ineedbots 2021-06-14 11:59:48 -06:00
parent f3afda6703
commit deb0356181

View File

@ -1166,7 +1166,7 @@ classWatch()
for(;;)
{
while(!isdefined(self.pers["team"]))
while(!isdefined(self.pers["team"]) || !allowClassChoice())
wait .05;
wait 0.5;
@ -1230,7 +1230,7 @@ teamWatch()
for(;;)
{
while(!isdefined(self.pers["team"]))
while(!isdefined(self.pers["team"]) || !allowTeamChoice())
wait .05;
wait 0.05;