mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Merge pull request #3489 from t34lbytes/out-of-bounds
Prevents admin from walking out non-existent exits in the wilderness
This commit is contained in:
commit
e516f32212
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