Page 1 of 1

[1.1.38] Grenades ignore entities with no flags

Posted: Mon Aug 30, 2021 3:29 pm
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.

Re: [1.1.38] Grenades ignore entities with no flags

Posted: Thu Sep 02, 2021 3:20 am
by Rseding91
Thanks for the report. It's now fixed for the next release.