change clamp to CLAMP
requested change, and i don't plan on subtypes with different effects based on food quality Co-Authored-By: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
e024393962
commit
f821d33f44
@@ -25,7 +25,7 @@
|
||||
pixel_y = rand(-5, 5)
|
||||
|
||||
/obj/item/reagent_containers/food/proc/adjust_food_quality(new_quality)
|
||||
food_quality = clamp(new_quality,0,100)
|
||||
food_quality = CLAMP(new_quality,0,100)
|
||||
|
||||
/obj/item/reagent_containers/food/proc/checkLiked(var/fraction, mob/M)
|
||||
if(last_check_time + 50 < world.time)
|
||||
|
||||
Reference in New Issue
Block a user