Fixed napalm error. Fixed specatators/invalid players showing up in force zspawn/ztele. Fixed knife alpha (untested)
This commit is contained in:
@ -72,7 +72,7 @@ RoundStartOnRoundStart()
|
||||
/**
|
||||
* Kills all objective entities.
|
||||
*/
|
||||
RoundStartKillObjectives()
|
||||
stock RoundStartKillObjectives()
|
||||
{
|
||||
decl String:classname[64];
|
||||
|
||||
@ -92,12 +92,10 @@ RoundStartKillObjectives()
|
||||
GetEdictClassname(x, classname, sizeof(classname));
|
||||
|
||||
// Check if it matches any objective entities, then stop if it doesn't.
|
||||
if(StrContains(ROUNDSTART_OBJECTIVE_ENTITIES, classname) == -1)
|
||||
if(StrContains(ROUNDSTART_OBJECTIVE_ENTITIES, classname) > -1)
|
||||
{
|
||||
continue;
|
||||
// Entity is an objective, kill it.
|
||||
RemoveEdict(x);
|
||||
}
|
||||
|
||||
// Entity is an objective, kill it.
|
||||
RemoveEdict(x);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user