mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Prevents admin from walking out non-existent exits in the wilderness
This commit is contained in:
parent
6dd9442cef
commit
32ede019da
1 changed files with 1 additions and 1 deletions
|
|
@ -682,7 +682,7 @@ class WildernessExit(DefaultExit):
|
|||
Returns:
|
||||
bool: True if traversing_object is allowed to traverse
|
||||
"""
|
||||
return True
|
||||
return self.wilderness.is_valid_coordinates(new_coordinates)
|
||||
|
||||
def at_traverse(self, traversing_object, target_location):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue