mirror of
https://github.com/evennia/evennia.git
synced 2026-03-24 08:46:31 +01:00
Fix traceback in MULTISESSION_MODE=3 for empty ic. Resolves #2250
This commit is contained in:
parent
43e2b0aba3
commit
4dd2e71448
1 changed files with 1 additions and 1 deletions
|
|
@ -304,7 +304,7 @@ class CmdIC(COMMAND_DEFAULT_CLASS):
|
|||
character_candidates = []
|
||||
|
||||
if not self.args:
|
||||
character_candidates = [account.db._last_puppet] or []
|
||||
character_candidates = [account.db._last_puppet] if account.db._last_puppet else []
|
||||
if not character_candidates:
|
||||
self.msg("Usage: ic <character>")
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue