mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 15:32:33 +00:00
De-fuck team change
This commit is contained in:
parent
e4b4b60cb6
commit
00440224d2
1 changed files with 1 additions and 1 deletions
|
@ -1357,7 +1357,7 @@ boolean LUAh_TeamSwitch(player_t *player, int newteam, boolean fromspectators, b
|
|||
hook_p hookp;
|
||||
boolean canSwitchTeam = true;
|
||||
if (!gL || !(hooksAvailable[hook_TeamSwitch/8] & (1<<(hook_TeamSwitch%8))))
|
||||
return 0;
|
||||
return true;
|
||||
|
||||
lua_settop(gL, 0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue