Moved GetDefaultClassIndex outside the loop.
This commit is contained in:
parent
a6c726c193
commit
2d4f5d7ae6
@ -121,9 +121,10 @@ public OnMapStart()
|
||||
if (!GetConVarBool(gCvars[CVAR_CLASSES_SAVE]))
|
||||
{
|
||||
new i;
|
||||
new classindex = GetDefaultClassIndex();
|
||||
for (i = 1; i <= MAXPLAYERS; i++)
|
||||
{
|
||||
pClass[i] = GetDefaultClassIndex();
|
||||
pClass[i] = classindex;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user