mirror of
https://github.com/evennia/evennia.git
synced 2026-03-21 23:36:30 +01:00
Resolved issue99, which concerned commands on adjacent players being erroneously included among a player's available commands (giving multiple-command errors).
This commit is contained in:
parent
35bb9444a1
commit
e2f92f0bfe
3 changed files with 6 additions and 13 deletions
|
|
@ -113,7 +113,11 @@ def get_and_merge_cmdsets(caller):
|
|||
local_objlist = location.contents
|
||||
local_objects_cmdsets = [obj.cmdset.current
|
||||
for obj in local_objlist
|
||||
if obj.cmdset.allow_outside_access(caller)]
|
||||
if obj.cmdset.outside_access]
|
||||
# print "used objs: %s" % ([obj.name
|
||||
# for obj in local_objlist
|
||||
# if obj.cmdset.outside_access])
|
||||
|
||||
# Merge all command sets into one
|
||||
# (the order matters, the higher-prio cmdsets are merged last)
|
||||
cmdset = caller_cmdset
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue