Fix "Mods mismatch!" error when overhaul setting is not synced.

Conditional "require" context is known as causing that.
This commit is contained in:
x2605 2022-04-15 17:57:06 +09:00
parent 531c21dc46
commit 81b1aa3228
2 changed files with 7 additions and 4 deletions

View file

@ -122,9 +122,7 @@ if data.raw.technology["atomic-bomb"] then
end
--overhaul
if settings.startup['overhaul_mode'].value == true then
require('scripts/overhaul')
end
require('scripts/overhaul')
--white hole
require('scripts/gravitation/gr_make_white_hole_recipes')