Repaths /obj/item/weapon to /obj/item (#29929)

This commit is contained in:
Jordan Brown
2017-08-16 09:38:51 -04:00
committed by Leo
parent b95e38aacb
commit af4d9a85c9
1088 changed files with 25878 additions and 25881 deletions

View File

@@ -8,7 +8,7 @@
component_probability = damage_amount * 0.66
if(component_probability)
for(var/I in all_components)
var/obj/item/weapon/computer_hardware/H = all_components[I]
var/obj/item/computer_hardware/H = all_components[I]
if(prob(component_probability))
H.take_damage(round(damage_amount*0.5), damage_type, damage_flag, 0)
@@ -22,7 +22,7 @@
var/turf/newloc = get_turf(src)
new /obj/item/stack/sheet/metal(newloc, round(steel_sheet_cost/2))
for(var/C in all_components)
var/obj/item/weapon/computer_hardware/H = all_components[C]
var/obj/item/computer_hardware/H = all_components[C]
uninstall_component(H)
H.forceMove(newloc)
if(prob(25))