[MIRROR] entertainment cameras now update on move and some cleanup (#9155)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Kashargul <KashL@t-online.de>
This commit is contained in:
CHOMPStation2
2024-10-04 15:26:00 -07:00
committed by GitHub
parent 5ee51c329a
commit dd40869551
10 changed files with 21 additions and 17 deletions

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