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
|
-- get value with respect to override value
|
||||||
function getOptionValue()
|
function getOptionValue()
|
||||||
-- don't clean up playermats if playing a prelude from the list
|
-- don't clean up playermats if playing a prelude from the list
|
||||||
if preludeList[scenarioName] then
|
if scenarioName and preludeList[scenarioName] then
|
||||||
return false
|
return false
|
||||||
else
|
else
|
||||||
return options["tidyPlayermats"]
|
return options["tidyPlayermats"]
|
||||||
|
Loading…
Reference in New Issue
Block a user