mirror of
https://github.com/evennia/evennia.git
synced 2026-04-05 23:47:16 +02:00
Updated HTML docs.
This commit is contained in:
parent
df0a1a4f59
commit
8d82220b17
694 changed files with 281 additions and 196 deletions
|
|
@ -198,8 +198,8 @@ def index(request):
|
|||
def index(request):
|
||||
"""The 'index' view."""
|
||||
user = request.user
|
||||
if not user.is_anonymous() and user.db._playable_characters:
|
||||
character = user.db._playable_characters[0]
|
||||
if not user.is_anonymous() and user.characters:
|
||||
character = user.characters[0]
|
||||
```
|
||||
|
||||
In this second case, it will select the first character of the account.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue