mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
add session to account execute_cmd
This commit is contained in:
parent
3b84ec1b42
commit
ff3ae5ccfc
1 changed files with 2 additions and 2 deletions
|
|
@ -87,11 +87,11 @@ class ContribCmdCharCreate(MuxAccountCommand):
|
|||
char = session.new_char
|
||||
if char.db.chargen_step:
|
||||
# this means the character creation process was exited in the middle
|
||||
account.execute_cmd("look")
|
||||
account.execute_cmd("look", session=session)
|
||||
else:
|
||||
# this means character creation was completed - start playing!
|
||||
# execute the ic command to start puppeting the character
|
||||
account.execute_cmd("ic {}".format(char.key))
|
||||
account.execute_cmd("ic {}".format(char.key), session=session)
|
||||
|
||||
EvMenu(session, _CHARGEN_MENU, startnode=startnode, cmd_on_exit=finish_char_callback)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue