Fixed errors in bridge room. Some issues with tickerhandler starting with an invalid interval.
This commit is contained in:
parent
6f4cbbc1be
commit
5af3617d4e
7 changed files with 35 additions and 32 deletions
|
|
@ -519,12 +519,12 @@ def superuser(*args, **kwargs):
|
|||
def has_player(accessing_obj, accessed_obj, *args, **kwargs):
|
||||
"""
|
||||
Only returns true if accessing_obj has_player is true, that is,
|
||||
this is a player-controlled object. T
|
||||
this is a player-controlled object. It fails on actual players!
|
||||
|
||||
This is a useful lock for traverse-locking Exits to restrain NPC
|
||||
mobiles from moving outside their areas.
|
||||
"""
|
||||
return hasattr(accessing_obj, "has_player") and accessing_obj.has_player()
|
||||
return hasattr(accessing_obj, "has_player") and accessing_obj.has_player
|
||||
|
||||
def serversetting(accessing_obj, accessed_obj, *args, **kwargs):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue