[0.17] setting entity.health to 0 or less interrupts death check
Posted: Wed Nov 07, 2018 3:28 pm
Using this code:
The player does not die as expected.
Tested using a build from 31st Oct 2018
Code: Select all
/c p = game.player p.surface.create_entity{name="acid-projectile-purple", target=p.character, position=p.character.position, speed=10} p.character.health=-20 end
Tested using a build from 31st Oct 2018