mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-21 20:26:48 +01:00
Merge pull request #7877 from Verkister/patch-61
Fixes animal type simplemobs runtiming on deletion
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
organs -= OR
|
||||
qdel(OR)
|
||||
|
||||
if(LAZYLEN(internal_organs))
|
||||
if(LAZYLEN(internal_organs) && !istype(src, /mob/living/simple_mob/animal))
|
||||
internal_organs_by_name.Cut()
|
||||
while(internal_organs.len)
|
||||
var/obj/item/OR = internal_organs[1]
|
||||
@@ -1083,4 +1083,4 @@
|
||||
// Tries to turn off things that let you see through walls, like mesons.
|
||||
// Each mob does vision a bit differently so this is just for inheritence and also so overrided procs can make the vision apply instantly if they call `..()`.
|
||||
/mob/living/proc/disable_spoiler_vision()
|
||||
handle_vision()
|
||||
handle_vision()
|
||||
|
||||
Reference in New Issue
Block a user