- Fixes issue 984. Clicking the internals button will now attempt to equip your internals even when you are buckled. It will not succeed if you are buckled and restrained tho, not that you could hold anything in that state...

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4797 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2012-10-02 21:50:33 +00:00
parent 45acf4146e
commit 1be33c6522

View File

@@ -317,7 +317,7 @@
if("Reset Machine")
usr.machine = null
if("internal")
if ((!( usr.stat ) && usr.canmove && !( usr.restrained() )))
if (( !usr.stat && !usr.stunned && !usr.paralysis && !usr.restrained() ))
if (usr.internal)
usr.internal = null
usr << "\blue No longer running on internals."