Skip to content

Commit

Permalink
Fix return statements
Browse files Browse the repository at this point in the history
  • Loading branch information
ariaworld committed Feb 21, 2024
1 parent 8fdebe9 commit 1fc8b9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/modules/food_and_drinks/drinks/drinks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
/obj/item/reagent_containers/food/drinks/attack(mob/living/M, mob/user, def_zone)
if(!reagents || !reagents.total_volume)
to_chat(user, "<span class='warning'>[src] is empty!</span>")
return FALSE
return

if(!canconsume(M, user))
return FALSE
return

if (!is_drainable())
to_chat(user, "<span class='warning'>[src]'s lid hasn't been opened!</span>")
return FALSE
return

var/gulp_amount = gulp_size
if(M == user)
Expand Down

0 comments on commit 1fc8b9d

Please sign in to comment.