#include "command/vote.qh"
-#include "mutators/_mod.qh"
+#include <server/mutators/_mod.qh>
#include "../common/deathtypes/all.qh"
-#include "../common/gamemodes/_mod.qh"
+#include <common/gamemodes/_mod.qh>
#include "../common/teams.qh"
/// \brief Describes a state of team balance entity.
// Mutator has blocked team change.
return false;
}
- if (new_team != -1)
+ if (new_team == -1)
+ {
+ player.team = -1;
+ }
+ else
{
SetPlayerColors(player, new_team - 1);
}