From 700d163de0ebcff31633fc87ad6a87afed185e95 Mon Sep 17 00:00:00 2001 From: AffectedArc07 Date: Thu, 2 Jul 2020 22:27:44 +0100 Subject: [PATCH] This approach works --- code/game/machinery/slotmachine.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/machinery/slotmachine.dm b/code/game/machinery/slotmachine.dm index f998a8e128c..5ac3f446291 100644 --- a/code/game/machinery/slotmachine.dm +++ b/code/game/machinery/slotmachine.dm @@ -19,7 +19,6 @@ if(!ui) ui = new(user, src, ui_key, "SlotMachine", name, 350, 200, master_ui, state) ui.open() - ui.set_autoupdate(TRUE) /obj/machinery/slot_machine/tgui_data(mob/user) var/list/data = list() @@ -101,6 +100,7 @@ resultlvl = "orange" working = FALSE icon_state = "slots-off" + SStgui.update_uis(src) // Push a UI update /obj/machinery/slot_machine/proc/win_money(amt, sound='sound/machines/ping.ogg') if(sound)