1
0
mirror of https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git synced 2024-12-12 10:13:58 +02:00
FactorioScenarioMultiplayer.../migrations/oarc-mod-V2.1.4.lua

9 lines
434 B
Lua

--Need to make sure the new config settings are added.
if storage.ocfg.gameplay.enable_friendly_teams == nil then
storage.ocfg.gameplay.enable_friendly_teams = true
log("Updating gameplay config with new 'enable_friendly_teams' setting.")
end
if storage.ocfg.gameplay.enable_cease_fire == nil then
storage.ocfg.gameplay.enable_cease_fire = true
log("Updating gameplay config with new 'enable_cease_fire' setting.")
end