Hazard Lights


A mod that adds light to the cornors of common buildings at night to stop you from driving into them

Tweaks
3 years ago
0.17 - 0.18
13

b [Fixed] Crash with Picker Dollies + Hazard Lights

4 years ago

Sorry for disturbing you again, but I get a real crash now whenever I move an entity without Hazard Lights:

10759.777 Error MainLoop.cpp:1195: Exception at tick 67523174: The mod Picker Dollies caused a non-recoverable error.
Please report this error to the mod author.

Error while running event PickerDollies::dolly-move-north (ID 149)
The mod Hazard Lights caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Hazard-Lights::Custom event (ID 197)
__Hazard-Lights__/control.lua:83: attempt to index field '?' (a nil value)
stack traceback:
    __Hazard-Lights__/control.lua:83: in function <__Hazard-Lights__/control.lua:80>
stack traceback:
    __PickerDollies__/control.lua:226: in function <__PickerDollies__/control.lua:190>
    (...tail calls...)
    __stdlib__/stdlib/event/event.lua:315: in function 'pcall'
    __stdlib__/stdlib/event/event.lua:335: in function 'dispatch_event'
    __stdlib__/stdlib/event/event.lua:413: in function <__stdlib__/stdlib/event/event.lua:369>
stack traceback:
    [C]: in function 'raise_event'
    __PickerDollies__/control.lua:226: in function <__PickerDollies__/control.lua:190>
    (...tail calls...)
    __stdlib__/stdlib/event/event.lua:315: in function 'pcall'
    __stdlib__/stdlib/event/event.lua:335: in function 'dispatch_event'
    __stdlib__/stdlib/event/event.lua:413: in function <__stdlib__/stdlib/event/event.lua:369>
4 years ago

ah, seems like i'll have to look at this when i get home

4 years ago

should be fixed now

4 years ago

Yep, seems to work (quickly tested with inserters and combinators). Thanks for the quick fix again!

New response