Make at_get_cmdset get receive a parallel kwarg.

This commit is contained in:
Griatch 2017-03-01 15:20:30 +01:00
parent b73a0f8f8c
commit 357e829d4e
2 changed files with 3 additions and 3 deletions

View file

@ -235,7 +235,7 @@ def get_and_merge_cmdsets(caller, session, player, obj, callertype, raw_string):
for lobj in local_objlist: for lobj in local_objlist:
try: try:
# call hook in case we need to do dynamic changing to cmdset # call hook in case we need to do dynamic changing to cmdset
_GA(lobj, "at_cmdset_get")() _GA(lobj, "at_cmdset_get")(caller=caller)
except Exception: except Exception:
logger.log_trace() logger.log_trace()
# the call-type lock is checked here, it makes sure a player # the call-type lock is checked here, it makes sure a player

View file

@ -1033,8 +1033,8 @@ class DefaultObject(with_metaclass(TypeclassBase, ObjectDB)):
have no cmdsets. have no cmdsets.
Kwargs: Kwargs:
Usually not set but could be used e.g. to force rebuilding caller (Session, Object or Player): The caller requesting
of a dynamically created cmdset or similar. this cmdset.
""" """
pass pass