mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-24 09:02:27 +00:00
Fixes More Devbugs (#4214)
Fixes #4195 Fixes #4199 Fixes #4162 Fixes #4194
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user