Provide MAX_TACTICAL_ENEMIES to lua

This commit is contained in:
Asdow
2024-12-24 00:16:09 +02:00
parent eb7837bc3e
commit 5b966b4df9
+1
View File
@@ -64,6 +64,7 @@ BOOLEAN LuaUnderground::InitializeSectorList()
.TableOpen()
.TParam("difficultyLevel", int(gGameOptions.ubDifficultyLevel))
.TParam("gameStyle", int(gGameOptions.ubGameStyle))
.TParam("maxTacticalEnemies", int(gGameExternalOptions.ubGameMaximumNumberOfEnemies))
.TableClose();
SGP_THROW_IFFALSE(initsectorlist_func.Call(1), "call to lua function BuildUndergroundSectorList failed");