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:
DGamerL
2024-04-23 02:49:52 +02:00
committed by GitHub
parent 6b442d3ed2
commit de6a54fbde
21 changed files with 29 additions and 43 deletions
-3
View File
@@ -53,7 +53,6 @@
return 0
if((reagents?(length(reagents)):(0)) < length(avail_reagents.reagent_list))
return -1
return .
/datum/recipe/proc/check_items(obj/container, list/ignored_items = null) //1=precisely, 0=insufficiently, -1=superfluous
. = 1
@@ -73,7 +72,6 @@
. = -1
if(length(checklist))
return 0
return .
//general version
/datum/recipe/proc/make(obj/container)
@@ -118,7 +116,6 @@
r_count = N_r
i_count = N_i
. = recipe
return .
/datum/recipe/proc/get_byproduct()
if(byproduct)