From ef78da8ce67660b997af41fab266491cca994640 Mon Sep 17 00:00:00 2001 From: wtclaude Date: Fri, 25 Sep 2026 06:31:42 -0500 Subject: [PATCH] fix(bridge): rg.map re-reads the picture rather than printing the last answer The walk emptied the Rust+ cache and rg.map still said `companion`: it printed the picture the last map.info had seen. It now re-reads while the world is ready. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY --- overlay/oxide/plugins/RunicGateway.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/overlay/oxide/plugins/RunicGateway.cs b/overlay/oxide/plugins/RunicGateway.cs index be20606..a55577e 100644 --- a/overlay/oxide/plugins/RunicGateway.cs +++ b/overlay/oxide/plugins/RunicGateway.cs @@ -9248,7 +9248,10 @@ namespace Oxide.Plugins [ConsoleCommand("rg.map")] private void CmdMap(ConsoleSystem.Arg arg) { - MapPicture picture = _mapPicture; + // Re-read rather than print the last answer: the cache can empty, or a render land, + // between asks, and a console that shows yesterday's source misleads the one person + // looking at it. + MapPicture picture = _worldReady ? CurrentPicture() : _mapPicture; int cells; float cellSize; GameGrid(out cells, out cellSize);