Fixes closets and destructive analyzer

You can no longer load your robot modules into these. Fixes #2138
This commit is contained in:
GauHelldragon
2013-01-03 16:08:46 -08:00
parent 673a233268
commit 17317e3ff6
2 changed files with 4 additions and 0 deletions

View File

@@ -63,6 +63,8 @@
src.MouseDrop_T(W:affecting, user) //act like they were dragged onto the closet
else
user << "<span class='notice'>The locker is too small to stuff [W] into!</span>"
if(isrobot(user))
return
user.drop_item()
if(W)
W.loc = src.loc

View File

@@ -78,6 +78,8 @@ Note: Must be placed within 3 tiles of the R&D Console
user << "\red The protolathe is busy right now."
return
if (istype(O, /obj/item) && !loaded_item)
if(isrobot(user)) //Don't put your module items in there!
return
if(!O.origin_tech)
user << "\red This doesn't seem to have a tech origin!"
return