Merge pull request #11336 from CthulhuOnIce/smol-pr

Switches some misplaced returns to continues
This commit is contained in:
Fox McCloud
2019-04-20 21:44:50 -04:00
committed by GitHub
+4 -4
View File
@@ -1005,12 +1005,12 @@
if(prob(2))
var/obj/item/clothing/mask/M = H.wear_mask
if(M && (M.flags_cover & MASKCOVERSMOUTH))
return
continue
if(NO_BREATHE in H.dna.species.species_traits)
return //no puking if you can't smell!
continue //no puking if you can't smell!
// Humans can lack a mind datum, y'know
if(H.mind && (H.mind.assigned_role == "Detective" || H.mind.assigned_role == "Coroner"))
return //too cool for puke
continue //too cool for puke
to_chat(H, "<span class='warning'>You smell something foul...</span>")
H.fakevomit()
@@ -1102,4 +1102,4 @@
// Need this in species.
//#undef HUMAN_MAX_OXYLOSS
//#undef HUMAN_CRIT_MAX_OXYLOSS
//#undef HUMAN_CRIT_MAX_OXYLOSS