mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-17 10:03:50 +01:00
Fixes dead demon rendering when dying in a clown car (#29970)
* Fixes dead demon rendering when dying in a clown car * Better implementation, fixes more shit
This commit is contained in:
@@ -303,6 +303,8 @@ RESTRICT_TYPE(/mob/living/basic)
|
||||
if(HAS_TRAIT(src, TRAIT_XENOBIO_SPAWNED))
|
||||
SSmobs.xenobiology_mobs--
|
||||
if(basic_mob_flags & DEL_ON_DEATH)
|
||||
// Moves them to their turf to prevent rendering problems
|
||||
forceMove(get_turf(src))
|
||||
// From simplemob implementation; prevent infinite loops if the mob
|
||||
// Destroy() is overridden in such a manner as to cause a call to
|
||||
// death() again. One hopes this isn't still necessary but whatevs
|
||||
|
||||
Reference in New Issue
Block a user