fix: add missing "Back to Town" button
authorxangelo <me@xangelo.ca>
Fri, 1 Sep 2023 17:14:04 +0000 (13:14 -0400)
committerxangelo <me@xangelo.ca>
Fri, 1 Sep 2023 17:14:04 +0000 (13:14 -0400)
src/server/views/repair.ts

index a049f9cad23f4b6e8ab02376d1194898448848e9..9ba994b6dee4ddbe5cecba5e995dc96dbc992d99 100644 (file)
@@ -74,7 +74,7 @@ export function renderRepairService(equipment: EquippedItemDetails[], player: Pl
   if(equipment.length === 0) {
     return `
       ${City.Title(location.city_name)}
-      ${City.Details(location.name, `You don't have any equipment that needs repairing.`)}
+      ${City.Details(location.name, `You don't have any equipment that needs repairing. <br><br>${BackToTown()}`)}
     `;
   }