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

Commit 6c4beb2

Browse files
Fixed interaction bug
1 parent 4adc9ed commit 6c4beb2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

code/modules/food_and_drinks/kitchen_machinery/food_cart_TGUI.dm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
var/storage_capacity = 80
1111
//Sound made when an item is dispensed
1212
var/dispense_sound = 'sound/machines/click.ogg'
13-
//List for items to be shown in UI
13+
//List used to show items in UI
1414
var/list/ui_list = list()
1515

1616
/obj/machinery/food_cart_TGUI/ui_interact(mob/user, datum/tgui/ui)
@@ -73,8 +73,9 @@
7373
if(istype(A, /obj/item/reagent_containers/food))
7474
storage_single(A)
7575

76-
/obj/machinery/food_cart_TGUI/proc/dispense_item(received_item, mob/user = usr)
76+
..()
7777

78+
/obj/machinery/food_cart_TGUI/proc/dispense_item(received_item, mob/user = usr)
7879
//Make a variable for checking the type of the selected item
7980
var/obj/item/reagent_containers/food/ui_item = new received_item
8081

@@ -128,7 +129,6 @@
128129
return amount
129130

130131
/obj/machinery/food_cart_TGUI/proc/last_index(obj/item/search_item)
131-
132132
var/obj/item/reagent_containers/food/snacks/item_index = null
133133

134134
//Search for the same item path in storage

0 commit comments

Comments
 (0)