Added nil handling for scenario name to Clean Up Helper

This commit is contained in:
Chr1Z93 2024-08-27 23:58:17 +02:00
parent 1b75fc291e
commit 5317e6786f

View File

@ -422,7 +422,7 @@ end
-- get value with respect to override value
function getOptionValue()
-- don't clean up playermats if playing a prelude from the list
if preludeList[scenarioName] then
if scenarioName and preludeList[scenarioName] then
return false
else
return options["tidyPlayermats"]