We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 812a4e6 commit b0dd35bCopy full SHA for b0dd35b
1 file changed
code/modules/mob/living/carbon/life.dm
@@ -21,16 +21,14 @@
21
if(.) //not dead
22
handle_blood(seconds_per_tick, times_fired)
23
24
- if(stat != DEAD)
+ if(stat != DEAD) // still not dead (blood could have changed that)
25
+ for(var/key in mind?.addiction_points)
26
+ GLOB.addictions[key].process_addiction(src, seconds_per_tick)
27
handle_brain_damage(seconds_per_tick, times_fired)
28
29
if(stat != DEAD)
30
handle_bodyparts(seconds_per_tick, times_fired)
31
- if(. && !HAS_TRAIT(src, TRAIT_STASIS)) //. == not dead
- for(var/key in mind?.addiction_points)
32
- GLOB.addictions[key].process_addiction(src, seconds_per_tick)
33
-
34
35
return TRUE
36
0 commit comments