Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit ef1957a

Browse files
Update code/modules/food_and_drinks/kitchen_machinery/food_cart.dm
Co-authored-by: Byemoh <[email protected]>
1 parent 1bc6d78 commit ef1957a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/modules/food_and_drinks/kitchen_machinery/food_cart.dm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
user.visible_message(span_notice("[user] dispenses [dispensed_item.name] from [src]."), span_notice("You dispense [dispensed_item.name] from [src]."))
220220
playsound(src, dispense_sound, 25, TRUE, extrarange = -3)
221221
//If the last one was dispenced, remove from UI
222-
if(find_amount(ui_item) == 0)
222+
if(!find_amount(ui_item))
223223
LAZYREMOVE(food_ui_list, received_item)
224224
else
225225
//Incase the UI buttons are slow to disable themselves

0 commit comments

Comments
 (0)