From 61af04a55f5239ed45693da515070245f56399e1 Mon Sep 17 00:00:00 2001 From: Malted Date: Mon, 27 Jan 2025 17:15:11 -0500 Subject: [PATCH] Gold border if root ship in ysws base --- src/app/harbor/shipyard/ships.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/harbor/shipyard/ships.tsx b/src/app/harbor/shipyard/ships.tsx index 7d3ab820..52200da7 100644 --- a/src/app/harbor/shipyard/ships.tsx +++ b/src/app/harbor/shipyard/ships.tsx @@ -172,7 +172,9 @@ export default function Ships({ id: string setNewShipVisible: any }) => { - const latestShip = getChainFromAnyId(s.id)?.at(-1) || s + const chain = getChainFromAnyId(s.id) + const rootShip = chain?.at(0) + const latestShip = chain?.at(-1) || s return (