From ff3ae5ccfc662403dcb3a2b588126f3f5fb91580 Mon Sep 17 00:00:00 2001 From: InspectorCaracal <51038201+InspectorCaracal@users.noreply.github.com> Date: Sun, 2 Jun 2024 16:31:20 -0600 Subject: [PATCH] add session to account execute_cmd --- evennia/contrib/rpg/character_creator/character_creator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evennia/contrib/rpg/character_creator/character_creator.py b/evennia/contrib/rpg/character_creator/character_creator.py index 7fae70332d..a51b3273f2 100644 --- a/evennia/contrib/rpg/character_creator/character_creator.py +++ b/evennia/contrib/rpg/character_creator/character_creator.py @@ -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)