0.18.22 Broken Mods Fix

Place to get help with not working mods / modding interface.
FirroSeranel
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri Mar 11, 2016 7:16 pm
Contact:

0.18.22 Broken Mods Fix

Post by FirroSeranel »

For anyone who authors or maintains mods that have been broken by the update to 18.22 that removed the "script-only" and "all" types within CustomInput, here is how to fix it:

In data.lua, edit the following line:

Code: Select all

consume = "all"
to

Code: Select all

consume = "game-only"
And/or, edit the following line:

Code: Select all

consume = "script-only"
to

Code: Select all

consume = "none"
I believe this line may also be deleted since "none" is the default.
Post Reply

Return to “Modding help”