From edfc0256daca055f80099fa832da7a02da16c1e9 Mon Sep 17 00:00:00 2001 From: Veton Shabani <68129513+vetonshabani0@users.noreply.github.com> Date: Thu, 30 Jul 2026 17:04:45 +0200 Subject: [PATCH] Make Yardline map editor reachable from the console MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The bundle already shipped two editors — the 2D "Map Workbench" (?tool=map-editor) and a 3D fly-and-edit overlay (?fly=1) — but nothing linked to either, and their navigation was emitted as site-absolute literals. Under the /games/yardline-rc/ subpath those resolved to the console root instead of the game, the same class of bug BUILD.md already documents for the runtime asset paths. Rewrite the 5 URL literals to be relative (11 bytes total, all inside editor-only components — the racing path never reads them) and add a Map Workbench tile to the hub. Verified: bundle parses (acorn --module); headless Chrome renders the editor shell with the brand link resolving to "./"; BUILD.md's three existing rebuild invariants still hold (no absolute /assets/, phone bridge intact, __scInput hook present). --- index.html | 10 ++++++++++ yardline-rc/BUILD.md | 21 +++++++++++++++++++++ yardline-rc/assets/index-CSoa7UUc.js | 2 +- 3 files changed, 32 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 4ef587e4..7c72197c 100644 --- a/index.html +++ b/index.html @@ -39,6 +39,16 @@