Page 1 of 1

[0.17.25] LuaEntity.revive raise_revive option doesn't work

Posted: Sun Apr 07, 2019 3:03 pm
by theRustyKnife
Passing the raise_revive option is supposed to raise the script_raised_revive event, but does not. To reproduce:

Code: Select all

/c script.on_event(defines.events.script_raised_revive, function(event) game.print("Revived") end)
/c game.player.selected.revive{raise_revive=true}
While pointing at a ghost. Nothing will happen, even though the handler should print "Revived".

Re: [0.17.25] LuaEntity.revive raise_revive option doesn't work

Posted: Sun Apr 07, 2019 3:25 pm
by Bilka
Thanks for the report, fixed for the next version.