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

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
theRustyKnife
Filter Inserter
Filter Inserter
Posts: 258
Joined: Thu Feb 26, 2015 9:26 pm
Contact:

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

Post 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".
Check out my mods!

Bilka
Factorio Staff
Factorio Staff
Posts: 2869
Joined: Sat Aug 13, 2016 9:20 am
Contact:

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

Post by Bilka »

Thanks for the report, fixed for the next version.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Post Reply

Return to “Resolved Problems and Bugs”