mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-30 07:27:57 +01:00
Fixes human mobs still being able to vomit while dead (#19538)
* Jaunter no longer makes dead people vomit * Vomit proc in carbon.dm now has a death check
This commit is contained in:
@@ -88,6 +88,8 @@
|
||||
|
||||
|
||||
/mob/living/carbon/proc/vomit(lost_nutrition = 10, blood = 0, stun = 1, distance = 0, message = 1)
|
||||
if(stat == DEAD)
|
||||
return FALSE
|
||||
if(ismachineperson(src)) //IPCs do not vomit particulates
|
||||
return FALSE
|
||||
if(is_muzzled())
|
||||
@@ -548,7 +550,7 @@ GLOBAL_LIST_INIT(ventcrawl_machinery, list(/obj/machinery/atmospherics/unary/ven
|
||||
return
|
||||
|
||||
/mob/living/update_pipe_vision(obj/machinery/atmospherics/target_move)
|
||||
if(!client)
|
||||
if(!client)
|
||||
pipes_shown.Cut()
|
||||
return
|
||||
if(length(pipes_shown) && !target_move)
|
||||
|
||||
Reference in New Issue
Block a user