Skip to content

Commit

Permalink
Update army.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnTW committed Nov 24, 2024
1 parent e3e78c5 commit 80f0fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion M2TWEOP Code/M2TWEOP library/types/army.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ namespace armyHelpers
call eax
}
delete[] spawnCoords;
if (army && label && strcmp(label, "") == 0)
if (army && label && strcmp(label, "") != 0)
gameStringHelpers::setHashedString(&gen->characterRecord->label, label);
return army;
}
Expand Down

0 comments on commit 80f0fa2

Please sign in to comment.