mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 11:07:12 +01:00
Removes all mentions of return . where they would be unnecessary (#25142)
* Removes all mentions of `return .` * I can do this all day * Arthri review * Update code/__HELPERS/sanitize_values.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> * Update code/__HELPERS/sanitize_values.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> --------- Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
var/mob/living/carbon/human/human_user = user
|
||||
|
||||
if(!species_custom_messages || (human_user.mind?.miming && !species_custom_mime_messages))
|
||||
return .
|
||||
return
|
||||
|
||||
var/custom_message
|
||||
if(user.mind?.miming)
|
||||
|
||||
@@ -317,7 +317,7 @@
|
||||
ADD_SLOWDOWN(H.r_hand.slowdown)
|
||||
|
||||
if(ignoreslow)
|
||||
return . // Only malusses after here
|
||||
return // Only malusses after here
|
||||
|
||||
if(H.dna.species.spec_movement_delay()) //Species overrides for slowdown due to feet/legs
|
||||
. += 2 * H.stance_damage //damaged/missing feet or legs is slow
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
. = ..()
|
||||
if(user.mind?.miming)
|
||||
return FALSE // shh
|
||||
return .
|
||||
|
||||
/datum/emote/living/blush
|
||||
key = "blush"
|
||||
|
||||
@@ -20,5 +20,3 @@
|
||||
|
||||
//Should update regardless of if we can ventcrawl, since we can end up in pipes in other ways.
|
||||
update_pipe_vision(loc)
|
||||
|
||||
return .
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
var/mob/living/L = target
|
||||
if(L.reagents && !poison_per_bite == 0)
|
||||
L.reagents.add_reagent(poison_type, poison_per_bite)
|
||||
return .
|
||||
|
||||
/mob/living/simple_animal/hostile/retaliate/poison/snake
|
||||
name = "snake"
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
/mob/living/carbon/human/get_screen_colour() //Fetch the colour matrix from wherever (e.g. eyes) so it can be compared to client.color.
|
||||
. = ..()
|
||||
if(.)
|
||||
return .
|
||||
return
|
||||
|
||||
var/obj/item/clothing/glasses/worn_glasses = glasses
|
||||
var/obj/item/organ/internal/eyes/eyes = get_int_organ(/obj/item/organ/internal/eyes)
|
||||
|
||||
Reference in New Issue
Block a user