Added nil handling for scenario name to Clean Up Helper
This commit is contained in:
parent
1b75fc291e
commit
5317e6786f
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user