Skip to content

Commit

Permalink
Merge pull request #911 from AntlerForce/master
Browse files Browse the repository at this point in the history
Fix randomSkirmish setup being skipped if simpleSkirmishEnabled is nil
  • Loading branch information
AntlerForce authored Feb 7, 2025
2 parents 683949c + 86fc209 commit 26e8b2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LuaMenu/configs/gameConfig/byar/skirmishDefault.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
local randomSkirmishEnabled = Spring.GetConfigInt("randomSkirmishSetup", 1)
local simpleSkirmishEnabled = Spring.GetConfigInt("simplifiedSkirmishSetup", 1)

if randomSkirmishEnabled == 1 and simpleSkirmishEnabled ~= 1 then
if randomSkirmishEnabled == 1 and simpleSkirmishEnabled == 0 then
local listOfCertifiedMaps = VFS.Include("luamenu/configs/gameconfig/byar/mapdetails.lua")
local convertedListOfMaps = {}
for pickedMap, mapDetails in pairs(listOfCertifiedMaps) do
Expand Down

0 comments on commit 26e8b2a

Please sign in to comment.