mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user