No drop items now lose their nodrop if dropped

This commit is contained in:
joep van der velden
2019-07-29 00:03:18 +02:00
parent fba32dd761
commit 402d1ef131
12 changed files with 38 additions and 11 deletions
+2
View File
@@ -347,6 +347,8 @@ var/global/image/fire_overlay = image("icon" = 'icons/goonstation/effects/fire.d
A.Remove(user)
if(flags & DROPDEL)
qdel(src)
if((flags & NODROP) && !(initial(flags) & NODROP)) //Remove NODROP is dropped
flags &= ~NODROP
in_inventory = FALSE
SEND_SIGNAL(src, COMSIG_ITEM_DROPPED,user)