[1.1.38] Grenades ignore entities with no flags

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
Mylon
Filter Inserter
Filter Inserter
Posts: 510
Joined: Sun Oct 23, 2016 11:42 pm
Contact:

[1.1.38] Grenades ignore entities with no flags

Post by Mylon »

Problem:
Grenades are not damaging entity-with-health that have no flags set.
To recreate:
Create an entity-with-health with no flags, or remove the flags of an existing entity, like so:

Code: Select all

data.raw["simple-entity"]["rock-big"].flags = {}
data.raw["simple-entity"]["rock-big"].flags = nil
--Either one works.
Then find or spawn this entity and throw a grenade at it. Entity does not take damage as expected.

This seems to be a problem with ANY flags, as even setting flags to { "not-on-map" } makes it vulnerable to grenade damage.
Expected:
Grenade causes entity to take damage as normal, respecting it's resistances.

Rseding91
Factorio Staff
Factorio Staff
Posts: 12213
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.38] Grenades ignore entities with no flags

Post by Rseding91 »

Thanks for the report. It's now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”