Fixes More Devbugs (#4214)

Fixes #4195
Fixes #4199
Fixes #4162
Fixes #4194
This commit is contained in:
LordFowl
2018-01-30 00:50:30 -05:00
committed by Erki
parent fa97ca271e
commit 453b039dfe
7 changed files with 67 additions and 20 deletions

View File

@@ -56,7 +56,7 @@
malus = abs(base_malus*2)
/obj/item/laser_components/modifier/repair_module(var/obj/item/weapon/weldingtool/W)
if(istype(W))
if(!istype(W))
return
if(W.remove_fuel(5))
malus = max(malus - 5, base_malus)
@@ -73,7 +73,7 @@
repair_item = /obj/item/stack/cable_coil
/obj/item/laser_components/capacitor/repair_module(var/obj/item/stack/cable_coil/C)
if(istype(C))
if(!istype(C))
return
if(C.use(5))
return 1
@@ -104,7 +104,7 @@
repair_item = /obj/item/stack/nanopaste
/obj/item/laser_components/focusing_lens/repair_module(var/obj/item/stack/nanopaste/N)
if(istype(N))
if(!istype(N))
return
if(N.use(5))
return 1