1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

Update to new config structure

This commit is contained in:
Matthew Heguy 2018-12-23 11:36:34 -05:00
parent e75bb1aad4
commit d381ee1a03

View File

@ -747,7 +747,7 @@ end
--- Adds to existing map_extra_info. Removes default text if it is the only text in place.
function Public.add_map_extra_info(value)
if editable_info[map_extra_info_key] == global.config.map_extra_info_key then
if editable_info[map_extra_info_key] == global.config.map_info.map_extra_info_key then
editable_info[map_extra_info_key] = value
else
editable_info[map_extra_info_key] = string.format('%s\n%s', editable_info[map_extra_info_key], value)