GDIW Hotkey


Hides GDIW (v0.16.2+) recipes and provides a Hotkey (default ALT+R) to cycle recipe options instead.

Utilities
5 years ago
0.15 - 0.17
37

b Runtime Error in control.lua

6 years ago
(updated 6 years ago)

Hi,

I like and use your mods a lot, thanks! However, today I encountered something that looks like a little bug, so here is how to reproduce it:
1. Install your GDIW 0.16.2, GDIW Hotkey 1.2.0 and latest bobplates (+boblibrary).
2. Build an Compressor (any version) and place it somewhere
3. Select it by hovering mouse cursor over it
4. Press ALT-R (like if you wanted to swap recipe)
5. You see a little window telling you that:
GDIWHotkey/control.lua:15: attempt to index global 'currentrecipe' (a nil value)

Not a big deal, rather a corner case, but can be fixed easily.
Thanks again
KUDr

6 years ago

Hi,

Thanks for the report.

The mod would crash if you tried to cycle the recipe on any machine that did not have a recipe set.

This was definitely a bug, it should now be fixed with mod version 1.2.1.

Cheers,
Wyrm.

6 years ago

Oh, thanks!
I just reported what I was able to reproduce...

New response