mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Merge pull request #3222 from shogidude/xyzgrid-node-updating
Fixing Z location in xyzgrid teleport command
This commit is contained in:
commit
866bb060ef
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class CmdXYZTeleport(building.CmdTeleport):
|
|||
else:
|
||||
# use current location's Z, if it exists
|
||||
try:
|
||||
xyz = self.caller.xyz
|
||||
xyz = self.caller.location.xyz
|
||||
except AttributeError:
|
||||
self.caller.msg(
|
||||
"Z-coordinate is also required since you are not currently "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue