mirror of
https://github.com/evennia/evennia.git
synced 2026-04-05 23:47:16 +02:00
Fix for #1364 - Wilderness.py exits created in wilderness aren't added to manifest
This commit is contained in:
parent
fce5dc3af6
commit
109b262b49
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