redruin1 / factorio-draftsman

A complete, well-tested, and up-to-date module to manipulate Factorio blueprint strings. Compatible with mods.
MIT License
92 stars 17 forks source link

Modern `factorio-data` requires `defines` to be populated before loading `core` mod #86

Closed redruin1 closed 1 year ago

redruin1 commented 1 year ago

Something must have changed recently (since I don't remember this being a particular issue) but draftsman-update complains if the Lua defines is nil when loading "core/lualib/utils.lua". Moving the execution of defines to before this point fixes this issue. This fix will be in 1.0.6.