Page 1 of 1

0.18.22 Broken Mods Fix

Posted: Thu Apr 30, 2020 3:21 pm
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.