Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 5db6a01

Browse files
authored
Don't actually breathe bro (#22592)
1 parent a79dcc4 commit 5db6a01

File tree

1 file changed

+5
-4
lines changed
  • code/modules/mob/living/carbon

1 file changed

+5
-4
lines changed

code/modules/mob/living/carbon/life.dm

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,12 @@
128128
//Try and drink water
129129
our_turf.liquids.liquid_group.transfer_to_atom(src, CHOKE_REAGENTS_INGEST_ON_BREATH_AMOUNT)
130130
visible_message(span_warning("[src] chokes on water!"), span_userdanger("You're choking on water!"))
131-
var/breath_ratio = 0
132-
if(environment)
133-
breath_ratio = BREATH_VOLUME/environment.return_volume()
131+
else
132+
var/breath_ratio = 0
133+
if(environment)
134+
breath_ratio = BREATH_VOLUME/environment.return_volume()
134135

135-
breath = loc.remove_air_ratio(breath_ratio)
136+
breath = loc.remove_air_ratio(breath_ratio)
136137
else //Breathe from loc as obj again
137138
if(istype(loc, /obj/))
138139
var/obj/loc_as_obj = loc

0 commit comments

Comments
 (0)