fs2open.github.com
fs2open.github.com copied to clipboard
Simplify logic here
Break when you've found a match, instead of just mindlessly comparing the rest.
This is technically just an optimization and safety change, but if the inner and outer loops had been switched, it would have set the wrong flag if two copies of the same flag were listed in the mission file.
I'm going to make sure this gets in before 24.2