Fixed placing mounted modules in closets

- Fixes placing mounted modules in closets and crates
- Removed a couple of colons
This commit is contained in:
Loganbacca
2015-01-16 11:43:45 +13:00
parent 2e0a3e4597
commit 780b1fb096
3 changed files with 11 additions and 3 deletions

View File

@@ -70,6 +70,8 @@
if(opened)
if(isrobot(user))
return
if(W.loc != user) // This should stop mounted modules ending up outside the module.
return
user.drop_item()
if(W)
W.loc = src.loc