WELDER fixed

- Now hurts your eyes again if you use it unprotected.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1011 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2011-02-09 23:54:18 +00:00
parent c322b605b3
commit f82dbfe28d
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -211,7 +211,7 @@ WELDINGTOOOL
reagents.remove_reagent("fuel", amount)
check_status()
if(M)
eyecheck()//TODO:eyecheck should really be in mob not here
eyecheck(M)//TODO:eyecheck should really be in mob not here
return 1
else
if(M)
@@ -256,7 +256,7 @@ WELDINGTOOOL
eyecheck(mob/user as mob)//TODO:Move this over to /mob/ where it should be
//check eye protection
if(!ishuman() && !ismonkey())
if(!ishuman(user) && !ismonkey(user))
return 1
var/safety = 0
if (istype(user, /mob/living/carbon/human))