[MIRROR] Fixes some tool interactions (#5555)
* Merge pull request #35724 from DaxDupont/bordlisten-loves-the-cocks Fixes some tool interactions * Fixes some tool interactions
This commit is contained in:
committed by
Poojawa
parent
3a202a73b5
commit
b3266870a6
@@ -391,9 +391,9 @@ Class Procs:
|
||||
|
||||
/obj/machinery/proc/exchange_parts(mob/user, obj/item/storage/part_replacer/W)
|
||||
if(!istype(W))
|
||||
return
|
||||
return FALSE
|
||||
if((flags_1 & NODECONSTRUCT_1) && !W.works_from_distance)
|
||||
return
|
||||
return FALSE
|
||||
var/shouldplaysound = 0
|
||||
if(component_parts)
|
||||
if(panel_open || W.works_from_distance)
|
||||
|
||||
Reference in New Issue
Block a user