Skip to content

Commit

Permalink
Make possible to remove all player classes
Browse files Browse the repository at this point in the history
  • Loading branch information
kurta999 committed Jan 31, 2016
1 parent 31a083c commit e9aa05b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Scripting.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ static cell AMX_NATIVE_CALL Natives::RemoveLastClass(AMX *amx, cell *params)
if(!pServer)
return 0;

if(pNetGame->iSpawnsAvailable <= 1)
if(pNetGame->iSpawnsAvailable <= 0)
return 0;

pNetGame->iSpawnsAvailable--;
Expand Down

0 comments on commit e9aa05b

Please sign in to comment.