forgot to save the MAPINFO part.

This commit is contained in:
Christoph Oelckers 2025-03-24 09:44:14 +01:00
parent c91912567e
commit 302d279785

View file

@ -1580,7 +1580,7 @@ DEFINE_MAP_OPTION(lightmode, false)
parse.sc.MustGetNumber();
if (parse.sc.Number == 8 || parse.sc.Number == 16) info->lightmode = ELightMode::NotSet;
else if (parse.sc.Number >= 0 && parse.sc.Number <= 5)
else if (parse.sc.Number >= 0 && parse.sc.Number < 5)
{
info->lightmode = ELightMode(parse.sc.Number);
}