Fixed a bug in mob movement that had it ignore its own check for traversal-permission

This commit is contained in:
Griatch 2015-02-22 14:34:35 +01:00
parent 4e11b2b5b5
commit c1243a9d6d
4 changed files with 52 additions and 390 deletions

View file

@ -540,7 +540,6 @@ def has_player(accessing_obj, accessed_obj, *args, **kwargs):
This is a useful lock for traverse-locking Exits to restrain NPC
mobiles from moving outside their areas.
"""
print "lock:", accessing_obj, accessed_obj, accessing_obj.has_player
return hasattr(accessing_obj, "has_player") and accessing_obj.has_player
def serversetting(accessing_obj, accessed_obj, *args, **kwargs):