fixes space travel bug with superfarting (#34629)

* fixes space travel bug with superfarting

* removed needless newlines

---------

Co-authored-by: realestestate <>
This commit is contained in:
RealestEstate
2023-07-13 17:45:41 -07:00
committed by GitHub
parent 8eeecbd9f7
commit 9356807bb4

View File

@@ -227,10 +227,10 @@
var/iterations = is_unconscious ? 5 : 3
for(var/i = 0, i < iterations, i++)
step_away(V,location,15)
var/turf/T = get_turf(H)
if (!T.has_gravity(H))
to_chat(H, "<span class = 'notice'>The gastrointestinal blast sends you careening through space!</span>")
H.throw_at(get_edge_target_turf(H, H.dir), 5, 5)
var/turf/T = get_turf(H)
if (!T.has_gravity(H))
to_chat(H, "<span class = 'notice'>The gastrointestinal blast sends you careening through space!</span>")
H.throw_at(get_edge_target_turf(H, H.dir), 5, 5)
if(is_unconscious)
H.gib()
else
@@ -302,7 +302,7 @@
if(user.reagents && user.reagents.has_reagent(PAROXETINE))
to_chat(user, "<span class='numb'>You're too medicated to wanna do that anymore.</span>")
return FALSE
return ..()
/datum/emote/living/carbon/human/dab/run_emote(mob/user, params, ignore_status = FALSE)