Janimech Cleaning grenade launcher mount fix (#27060)

* Cleaning grenade launcher mount fix

* More compact code

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>

---------

Signed-off-by: PollardTheDragon <144391971+PollardTheDragon@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
PollardTheDragon
2024-10-22 09:31:13 +00:00
committed by GitHub
co-authored by Luc
parent 4248eb735f
commit 68685375fb
+1 -1
View File
@@ -420,7 +420,7 @@
do_after_cooldown()
/obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/cleaner/can_attach(obj/mecha/nkarrdem/M as obj)
return ..() && istype(M)
return istype(M) && length(M.equipment) < M.max_equip
/obj/item/mecha_parts/mecha_equipment/weapon/ballistic/missile_rack/banana_mortar
equip_cooldown = 2 SECONDS