[0.15.9] [Lua-API] ghost.revive() checks for collision

Bugs that are actually features.
User avatar
Mylon
Filter Inserter
Filter Inserter
Posts: 525
Joined: Sun Oct 23, 2016 11:42 pm
Contact:

[0.15.9] [Lua-API] ghost.revive() checks for collision

Post by Mylon »

Not so much a bug as it is inconsistent behavior. When doing ghost.revive(), if the position is blocked the revive fails. Meanwhile create_entity() will execute even if the new entity collides with existing ones.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15981
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.15.9] [Lua-API] ghost.revive() checks for collision

Post by Rseding91 »

That's intended. If the revive didn't check then you could revive entities on top of players/other buildings/trees and everything would break :P
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”