mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Fix item dropping when upgrading camera (#24214)
This commit is contained in:
@@ -126,7 +126,7 @@
|
||||
var/msg2 = "<span class='notice'>The camera already has that upgrade!</span>"
|
||||
|
||||
if(istype(I, /obj/item/stack/sheet/mineral/plasma) && panel_open)
|
||||
if(!user.drop_item())
|
||||
if(!user.canUnEquip(I, FALSE))
|
||||
to_chat(user, "<span class='warning'>[I] is stuck to your hand!</span>")
|
||||
return
|
||||
if(!isEmpProof())
|
||||
@@ -137,7 +137,7 @@
|
||||
else
|
||||
to_chat(user, "[msg2]")
|
||||
else if(istype(I, /obj/item/assembly/prox_sensor) && panel_open)
|
||||
if(!user.drop_item())
|
||||
if(!user.canUnEquip(I, FALSE))
|
||||
to_chat(user, "<span class='warning'>[I] is stuck to your hand!</span>")
|
||||
return
|
||||
if(!isMotion())
|
||||
|
||||
Reference in New Issue
Block a user