Skip to content

Commit

Permalink
Fix able to spawn as unknown class
Browse files Browse the repository at this point in the history
  • Loading branch information
FortyTwoFortyTwo committed Dec 10, 2023
1 parent df0f0af commit 63819eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/szf/classes.sp
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ bool Classes_LoadTeam(KeyValues kv, const char[] sKey, ClientClasses classes[vie
}

//Clear classes and set default value
for (int i; i < sizeof(classes); i++)
for (int i = 1; i < sizeof(classes); i++)
{
delete classes[i].aWeapons;
classes[i] = class;
Expand Down

0 comments on commit 63819eb

Please sign in to comment.