feat(bridge): protocol 11 — the map (phase 14) #11

Merged
whitlocktech merged 3 commits from feat/phase-14-map into edge 2026-09-25 07:00:23 -05:00
Showing only changes of commit ef78da8ce6 - Show all commits

View File

@@ -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);