This commit is contained in:
Kashargul
2024-10-04 15:36:24 +02:00
committed by GitHub
parent fa8dfd4ef8
commit 7543fb2f5d
+1 -1
View File
@@ -137,7 +137,7 @@
for(var/I in req_components)
if(istype(P, text2path(I)) && (req_components[I] > 0))
playsound(src, 'sound/items/Deconstruct.ogg', 50, 1)
if(P.is_cable_coil))
if(P.is_cable_coil)
var/obj/item/stack/cable_coil/CP = P
if(CP.get_amount() > 1)
var/camt = min(CP.amount, req_components[I]) // amount of cable to take, idealy amount required, but limited by amount provided