mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix typo with non-existing xyz function call. Resolve #3337
This commit is contained in:
parent
32cbbd063a
commit
23038be08f
1 changed files with 3 additions and 5 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue