mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-06 07:32:15 +00:00
Adding unloading of botanical discs from boxes (#22847)
This commit is contained in:
@@ -188,8 +188,8 @@
|
||||
user.visible_message("<span class='notice'>[user] has added \the [O] to \the [src].</span>", "<span class='notice'>You add \the [O] to \the [src].</span>")
|
||||
SStgui.update_uis(src)
|
||||
update_icon(UPDATE_OVERLAYS)
|
||||
else if(istype(O, /obj/item/storage/bag))
|
||||
var/obj/item/storage/bag/P = O
|
||||
else if(istype(O, /obj/item/storage/bag) || istype(O, /obj/item/storage/box))
|
||||
var/obj/item/storage/P = O
|
||||
var/items_loaded = 0
|
||||
for(var/obj/G in P.contents)
|
||||
if(load(G, user))
|
||||
|
||||
Reference in New Issue
Block a user