feat(bridge): protocol 11 — the map (phase 14) #11
@@ -9248,7 +9248,10 @@ namespace Oxide.Plugins
|
|||||||
[ConsoleCommand("rg.map")]
|
[ConsoleCommand("rg.map")]
|
||||||
private void CmdMap(ConsoleSystem.Arg arg)
|
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;
|
int cells;
|
||||||
float cellSize;
|
float cellSize;
|
||||||
GameGrid(out cells, out cellSize);
|
GameGrid(out cells, out cellSize);
|
||||||
|
|||||||
Reference in New Issue
Block a user