From 036be0e42ca28bd7a7bcb7642d05d6aa2e9a93ba Mon Sep 17 00:00:00 2001 From: Certhic Date: Thu, 17 Sep 2020 11:41:02 +0200 Subject: [PATCH] sstgui.update --- code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm b/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm index 3202cfd0d43..b3efdc56469 100644 --- a/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm +++ b/code/modules/food_and_drinks/kitchen_machinery/smartfridge.dm @@ -139,6 +139,7 @@ /obj/machinery/smartfridge/attackby(obj/item/O, var/mob/user) if(exchange_parts(user, O)) + SStgui.update_uis(src) return if(stat & (BROKEN|NOPOWER)) to_chat(user, "\The [src] is unpowered and useless.") @@ -146,6 +147,7 @@ if(load(O, user)) user.visible_message("[user] has added \the [O] to \the [src].", "You add \the [O] to \the [src].") + SStgui.update_uis(src) update_icon() else if(istype(O, /obj/item/storage/bag)) var/obj/item/storage/bag/P = O @@ -155,6 +157,7 @@ items_loaded++ if(items_loaded) user.visible_message("[user] loads \the [src] with \the [P].", "You load \the [src] with \the [P].") + SStgui.update_uis(src) update_icon() var/failed = length(P.contents) if(failed)