Skip to content

Commit

Permalink
Fixing maximum mod count from 998 to 999.
Browse files Browse the repository at this point in the history
  • Loading branch information
MainMemory committed Jan 25, 2016
1 parent a396ec8 commit 7ee5f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SA2ModLoader/dllmain.cpp
Expand Up @@ -789,7 +789,7 @@ void __cdecl InitMods(void)
// It's mod loading time!
PrintDebug("Loading mods...");
char key[8];
for (int i = 1; i < 999; i++)
for (int i = 1; i <= 999; i++)
{
sprintf_s(key, "Mod%d", i);
if (!settings->hasKey(key))
Expand Down

0 comments on commit 7ee5f90

Please sign in to comment.