pre attack refactor

This commit is contained in:
kevinz000
2020-01-27 16:30:23 -07:00
parent 5e10d297e1
commit e50eb495df
6 changed files with 28 additions and 24 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ If you create T5+ please take a pass at gene_modder.dm [L40]. Max_values MUST fi
if(works_from_distance)
user.Beam(T, icon_state = "rped_upgrade", time = 5)
T.exchange_parts(user, src)
return FALSE
return TRUE
return ..()
/obj/item/storage/part_replacer/afterattack(obj/machinery/T, mob/living/user, adjacent, params)