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

Commit df1e8f3

Browse files
Moved usr from pour_glass to ui_act
1 parent 48f2f7b commit df1e8f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/modules/food_and_drinks/kitchen_machinery/food_cart.dm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
playsound(src, select_sound, 50, TRUE, extrarange = -3)
163163
//Pour glass
164164
if("pour")
165-
pour_glass()
165+
pour_glass(usr)
166166

167167
/obj/machinery/food_cart/Initialize(mapload)
168168
. = ..()
@@ -243,7 +243,7 @@
243243
//Warn about full capacity
244244
user.balloon_alert(user, "No space!")
245245

246-
/obj/machinery/food_cart/proc/pour_glass(mob/user = usr)
246+
/obj/machinery/food_cart/proc/pour_glass(mob/user)
247247
//Check if there are any glasses in storage
248248
if(glass_quantity > 0)
249249
glass_quantity -= 1

0 commit comments

Comments
 (0)