BeeStation/BeeStation-Hornet

[Bug]: Cavity implant doesn't manage references correctly when implanted item is destroyed

AdamUrgol opened this issue · 0 comments

BYOND Version

No response

Round Date

2024/11/24

Round ID

sandbox

Test merges

No response

Describe the bug

I created a grenade that was not very good, I took a mob and operated them to put grenade in their chest cavity. I detonated the grenade remotely (which nothing as it was bad). I took the same mob back to operation theatre, made new grenade and I tried putting new grenade into their chest cavity, but it says that I cannot fit new grenade, as if the old was still there and not detonated.
I tried operating to remove non existent implant-grenade, but I cannot retrieve anything, presumably because it exploded.
I tried this again just to make sure it's repeatable.
cavity

What did you expect?

I expected to be able to put new grenade after first one exploded already.

Reproducible steps

1.Make a grenade
2. Operate a mob to put it inside.
3. Detonate grenade (ideally without any actual explosives)
4. Repeat steps 1 and 2