Grenade explosion delay


Grenades explode some seconds after hitting the ground. Each player can set how long with personal mods setting.

Tweaks
6 months ago
2.0
63
Combat

b Throwing a grenade onto a belt causes an error

a month ago

When a grenade lands directly onto a belt, the game throws this error:

The mod Grenade explosion delay (0.1.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event grenade_explosion_delay::on_nth_tick(60)
__grenade_explosion_delay__/control.lua:68: attempt to index local 'grenade' (a nil value)
stack traceback:
    __grenade_explosion_delay__/control.lua:68: in function <__grenade_explosion_delay__/control.lua:42>

Having the grenade be moved onto a belt at any point after hitting the ground does not seem to cause any errors.

New response