Skip to content

Commit

Permalink
varupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
Bmon committed Jan 29, 2025
1 parent 3322bb0 commit 24b9dc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/game/mecha/equipment/tools/medical_tools.dm
Original file line number Diff line number Diff line change
Expand Up @@ -597,8 +597,8 @@

/obj/item/mecha_parts/mecha_equipment/medical/mechmedbeam/can_attach(obj/mecha/medical/M)
if(..())
for(var/obj/item/B in M)
if(istype(B, /obj/item/mecha_parts/mecha_equipment/medical/mechmedbeam))
for(var/obj/item/beamgun in M)
if(istype(beamgun, /obj/item/mecha_parts/mecha_equipment/medical/mechmedbeam))
return FALSE //One beamgun per mech
if(istype(M))
return TRUE
Expand Down

0 comments on commit 24b9dc3

Please sign in to comment.