mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-21 03:55:05 +01:00
This reverts commit f54b6904b9.
This commit is contained in:
committed by
GitHub
parent
8cb3571a9c
commit
f029dd1dfc
@@ -103,8 +103,8 @@
|
||||
to_chat(user, "You can't place that item inside the disposal unit.")
|
||||
return
|
||||
|
||||
var/obj/item/storage/S = I
|
||||
if(istype(S))
|
||||
if(istype(I, /obj/item/storage))
|
||||
var/obj/item/storage/S = I
|
||||
if((S.allow_quick_empty || S.allow_quick_gather) && S.contents.len)
|
||||
S.hide_from(user)
|
||||
user.visible_message("[user] empties \the [S] into \the [src].", "You empty \the [S] into \the [src].")
|
||||
@@ -134,8 +134,6 @@
|
||||
if(!user.drop_item())
|
||||
return
|
||||
if(I)
|
||||
if(istype(S))
|
||||
S.hide_from_all()
|
||||
I.forceMove(src)
|
||||
|
||||
to_chat(user, "You place \the [I] into the [src].")
|
||||
|
||||
Reference in New Issue
Block a user