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:
parent
e75bb1aad4
commit
d381ee1a03
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user