From 23038be08feed67927e59beac847e62f70443bc8 Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 26 Nov 2023 17:21:15 +0100 Subject: [PATCH] Fix typo with non-existing xyz function call. Resolve #3337 --- evennia/contrib/grid/xyzgrid/launchcmd.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/evennia/contrib/grid/xyzgrid/launchcmd.py b/evennia/contrib/grid/xyzgrid/launchcmd.py index a09525b91f..aa8591be29 100644 --- a/evennia/contrib/grid/xyzgrid/launchcmd.py +++ b/evennia/contrib/grid/xyzgrid/launchcmd.py @@ -18,9 +18,8 @@ Use `evennia xyzgrid help` for usage help. from os.path import join as pathjoin -from django.conf import settings - import evennia +from django.conf import settings from evennia.contrib.grid.xyzgrid.xyzgrid import get_xyzgrid from evennia.utils import ansi @@ -390,8 +389,7 @@ def _option_delete(*suboptions): print("Deleting grid ...") grid.delete() print( - "... done.\nPlease reload the server now; otherwise " - "removed rooms may linger in cache." + "... done.\nPlease reload the server now; otherwise removed rooms may linger in cache." ) return @@ -402,7 +400,7 @@ def _option_delete(*suboptions): print(f"Mapname/zcoord {zcoord} is not a part of the grid.") err = True if err: - print("Valid mapnames/zcoords are\n:", "\n ".join(xymap.Z for xymap in grid.all_rooms())) + print("Valid mapnames/zcoords are\n:", "\n ".join(xymap.Z for xymap in grid.all_maps())) return repl = input( "This will delete map(s) {', '.join(zcoords)} and wipe all corresponding\n"