mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
fixes deleted cultists still being considered cultists (#24336)
This commit is contained in:
@@ -57,7 +57,6 @@
|
||||
return ..()
|
||||
|
||||
/mob/living/simple_animal/hostile/construct/death(gibbed)
|
||||
SSticker.mode.remove_cultist(show_message = FALSE, target_mob = src)
|
||||
if(held_body) // Null check for empty bodies
|
||||
held_body.forceMove(get_turf(src))
|
||||
SSticker.mode.add_cult_immunity(held_body)
|
||||
@@ -71,7 +70,11 @@
|
||||
held_body.cancel_camera()
|
||||
new /obj/effect/temp_visual/cult/sparks(get_turf(src))
|
||||
playsound(src, 'sound/effects/pylon_shatter.ogg', 40, TRUE)
|
||||
. = ..()
|
||||
return ..()
|
||||
|
||||
/mob/living/simple_animal/hostile/construct/Destroy()
|
||||
SSticker.mode.remove_cultist(show_message = FALSE, target_mob = src)
|
||||
return ..()
|
||||
|
||||
/mob/living/simple_animal/hostile/construct/proc/add_held_body(atom/movable/body)
|
||||
held_body = body
|
||||
|
||||
@@ -38,9 +38,9 @@
|
||||
. = ..()
|
||||
icon_state = SSticker.cultdat?.shade_icon_state
|
||||
|
||||
/mob/living/simple_animal/shade/death(gibbed)
|
||||
. = ..()
|
||||
/mob/living/simple_animal/shade/Destroy()
|
||||
SSticker.mode.remove_cultist(show_message = FALSE, target_mob = src)
|
||||
return ..()
|
||||
|
||||
/mob/living/simple_animal/shade/attackby(obj/item/O, mob/user) //Marker -Agouri
|
||||
if(istype(O, /obj/item/soulstone))
|
||||
|
||||
Reference in New Issue
Block a user