Fixed a logical error in obj.manager causing it to fail to find arbitrary db_>fieldname>. Resolves Issue 373.
This commit is contained in:
parent
bda5d88c24
commit
efdb954491
4 changed files with 13 additions and 7 deletions
|
|
@ -109,7 +109,7 @@ class CmdOOCLook(MuxPlayerCommand):
|
|||
# character is already puppeted
|
||||
sess = player.get_session(csessid)
|
||||
sid = sess in sessions and sessions.index(sess) + 1
|
||||
if sess:
|
||||
if sess and sid:
|
||||
string += "\n - {G%s{n [%s] (played by you in session %i)" % (char.key, ", ".join(char.permissions), sid)
|
||||
else:
|
||||
string += "\n - {R%s{n [%s] (played by someone else)" % (char.key, ", ".join(char.permissions))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue