Fix MoMMIs being unable to reinforce glass.

This commit is contained in:
Rob Nelson
2013-09-20 11:33:05 -07:00
parent af5284e006
commit 0806aa8e9e
2 changed files with 11 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ Click [here](https://github.com/Baystation12/Baystation12/archive/master.zip) to
The more complicated and easier to update method is using git. You'll need to download git or some client from [here](http://git-scm.com/). When that's installed, right click in any folder and click on "Git Bash". When that opens, type in:
git clone git@github.com:Baystation12/Baystation12.git
git clone https://github.com/Baystation12/Baystation12.git
(hint: hold down ctrl and press insert to paste into git bash)
@@ -58,6 +58,12 @@ When you have done this, you'll need to recompile the code, but then it should w
---
### Configuration
For a basic setup, simply copy every file from config-example to config.
---
### SQL Setup
The SQL backend for the library and stats tracking requires a MySQL server. Your server details go in /config/dbconfig.txt, and the SQL schema is in /SQL/tgstation_schema.sql. More detailed setup instructions arecoming soon, for now ask in our IRC channel.

View File

@@ -42,7 +42,10 @@
var/replace = (user.get_inactive_hand()==G)
G.use(1)
if (!G && !RG && replace)
user.put_in_hands(RG)
if(isMoMMI(user))
RG.loc=get_turf(user)
else
user.put_in_hands(RG)
else
return ..()