Help command fix for players that don't have options saved
This commit is contained in:
parent
ba42c68c5c
commit
661ec5cb0b
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ class CmdHelp(Command):
|
||||||
if self.session.protocol_key in ("websocket", "ajax/comet"):
|
if self.session.protocol_key in ("websocket", "ajax/comet"):
|
||||||
try:
|
try:
|
||||||
options = self.caller.player.db._saved_webclient_options
|
options = self.caller.player.db._saved_webclient_options
|
||||||
if options["helppopup"]:
|
if options and options["helppopup"]:
|
||||||
usemore = False
|
usemore = False
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue