auto-look when quitting mid chargen
This commit is contained in:
parent
7f41e5a649
commit
7589aaf760
1 changed files with 4 additions and 1 deletions
|
|
@ -85,7 +85,10 @@ class ContribCmdCharCreate(MuxAccountCommand):
|
||||||
# this gets called every time the player exits the chargen menu
|
# this gets called every time the player exits the chargen menu
|
||||||
def finish_char_callback(session, menu):
|
def finish_char_callback(session, menu):
|
||||||
char = session.new_char
|
char = session.new_char
|
||||||
if not char.db.chargen_step:
|
if char.db.chargen_step:
|
||||||
|
# this means the character creation process was exited in the middle
|
||||||
|
account.execute_cmd("look")
|
||||||
|
else:
|
||||||
# this means character creation was completed - start playing!
|
# this means character creation was completed - start playing!
|
||||||
# execute the ic command to start puppeting the character
|
# execute the ic command to start puppeting the character
|
||||||
account.execute_cmd("ic {}".format(char.key))
|
account.execute_cmd("ic {}".format(char.key))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue