mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 16:44:33 +01:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user