mirror of
https://github.com/evennia/evennia.git
synced 2026-03-27 02:06:32 +01:00
Merge pull request #1370 from BigJMoney/WildernessChanges2
Fix for #1364 - Wilderness.py contrib
This commit is contained in:
commit
29fce64488
1 changed files with 1 additions and 1 deletions
|
|
@ -513,7 +513,7 @@ class WildernessRoom(DefaultRoom):
|
|||
moved_obj (Object): The object moved into this one.
|
||||
source_location (Object): Where `moved_obj` came from.
|
||||
"""
|
||||
if moved_obj.destination and moved_obj.destination == moved_obj.location:
|
||||
if isinstance(moved_obj, WildernessExit):
|
||||
# Ignore exits looping back to themselves: those are the regular
|
||||
# n, ne, ... exits.
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue