[Rseding91] [1.0.0] Can't make an indestructible entity die()

This subforum contains all the issues which we already resolved.
calcwizard
Burner Inserter
Burner Inserter
Posts: 16
Joined: Sat Apr 20, 2019 6:30 am
Contact:

[Rseding91] [1.0.0] Can't make an indestructible entity die()

Post by calcwizard »

In the documentation for LuaEntity.die() it says "Doesn't care whether the entity is destroyable or damageable." This suggests that if a normally-destructible entity is made indestructible, it can still die(). However, if you try the following, the entity is not killed:

Code: Select all

some_entity.destructible = false
some_entity.die()
If this is the case, then either the documentation is inaccurate or there is a bug with die().

Thanks.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14363
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.0.0] Can't make an indestructible entity die()

Post by Rseding91 »

Ok, I removed the part about 'damageable'.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”