Fixes lingering language holders caused by the sleeping carp (#94701)

## About The Pull Request

Sleeping Carp tried to remove the lang holder when the owner was being
destroyed, which would cause the holder to be re-instantiated
mid-deletion

## Changelog
🆑
fix: Fixed lingering language holders caused by the sleeping carp
/🆑
This commit is contained in:
SmArtKar
2026-01-03 18:52:52 +01:00
committed by GitHub
parent db1f4e7865
commit be53da5cbc
+2 -1
View File
@@ -45,7 +45,8 @@
remove_from.remove_traits(scarp_traits, SLEEPING_CARP_TRAIT)
UnregisterSignal(remove_from, list(COMSIG_ATOM_ATTACKBY, COMSIG_ATOM_PRE_BULLET_ACT, COMSIG_LIVING_CHECK_BLOCK))
remove_from.faction -= FACTION_CARP //:(
remove_from.remove_language(/datum/language/carptongue, ALL, type)
if (!QDELING(remove_from))
remove_from.remove_language(/datum/language/carptongue, ALL, type)
return ..()
/datum/martial_art/the_sleeping_carp/proc/check_streak(mob/living/attacker, mob/living/defender)