Changes relatives paths into absolute paths and makes some if()'s better

This commit is contained in:
Firecage
2016-01-17 01:36:56 +02:00
parent e5a6113157
commit 754491ce4c
69 changed files with 1294 additions and 857 deletions
+6 -3
View File
@@ -52,15 +52,18 @@
if(istype(tool, /obj/item/weapon/weldingtool))
var/obj/item/weapon/weldingtool/WT = tool
if(WT.isOn()) return 1
if(WT.isOn())
return 1
else if(istype(tool, /obj/item/weapon/lighter))
var/obj/item/weapon/lighter/L = tool
if(L.lit) return 1
if(L.lit)
return 1
else if(istype(tool, /obj/item/weapon/match))
var/obj/item/weapon/match/M = tool
if(M.lit) return 1
if(M.lit)
return 1
return 0