mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user