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.
|
moved_obj (Object): The object moved into this one.
|
||||||
source_location (Object): Where `moved_obj` came from.
|
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
|
# Ignore exits looping back to themselves: those are the regular
|
||||||
# n, ne, ... exits.
|
# n, ne, ... exits.
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue