Merge pull request #11936 from farie82/antidrop-remove-on-drop

Dropped anti drop items now lose the antidrop status if not initialized with it
This commit is contained in:
variableundefined
2019-08-24 10:53:23 -04:00
committed by GitHub
11 changed files with 13 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)