[16.51] Unit not dying

Things that has been reported already before.
Post Reply
TheSAguy
Smart Inserter
Smart Inserter
Posts: 1449
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

[16.51] Unit not dying

Post by TheSAguy »

Hi,

I've created a unit with a negative healing_per_tick = -1
So it should only have a certain time to live.

What seems to happen though, is that once it reaches 0, it does not die, and actually becomes immortal once it reaches 0. (I can't target it or other units can't attack it.)
So, the player of player's units can kill it if they damage it before it's health reaches 0, but once it reaches 0, it can't be killed....

Image

Once it reaches 0, I cant target it to kill...
This only happens if it reaches 0 live due to the negative healing per tick. If you damage it before it reaches 0 you can kill it, but once at 0, I can't target or kill it.

Below I'm trying to shoot it, but can't select it. Same for other units trying to kill it. He still causes damage though.
Image
This seems to be a bug, but I'm not entirely sure...

Any code I can provide to help out?


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

Re: [16.51] Unit not dying

Post by Rseding91 »

I moved the other one into bug reports because i thought it was this one that got moved out by someone - oops :)
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Duplicates”