francoiscampbell / Bluegistics

Factorio mod that saves "blueprints" of personal logistics layouts
https://mods.factorio.com/mod/Bluegistics
0 stars 1 forks source link

Not Factorio 1.1.x compatible #2

Open ChurchOrganist opened 3 years ago

ChurchOrganist commented 3 years ago

Trying to run Bluegistics in Factorio 1.1.x results in the following error when you launch the save. BLuegistics Error

Obviously the devs have changed something in the GUI API

MPeti1 commented 3 years ago

mod-gui.lua no longer defines 'mod_gui' as a global variable, it is now only available when required: local mod_gui = require("mod-gui")

According the changelog of 1.1.0, the only thing needed to solve this problem is to put this at the top of the file: local mod_gui = require("mod-gui")

MPeti1 commented 3 years ago

Made a pull request with a fix in #3. @francoiscampbell please take a look at it and merge if you find it ok