mirror of
https://github.com/evennia/evennia.git
synced 2026-03-24 16:56:32 +01:00
Fixing character creaction bug.
This commit is contained in:
parent
5d75db95ed
commit
cd79aa6a8f
2 changed files with 6 additions and 1 deletions
|
|
@ -667,7 +667,7 @@ def cmd_wall(cdat):
|
|||
session.msg("Announce what?")
|
||||
return
|
||||
|
||||
message = "%s shouts \"%s\"" % (session.get_pobject().get_name(), wallstring)
|
||||
message = "%s shouts \"%s\"" % (session.get_pobject().get_name(show_dbref=False), wallstring)
|
||||
functions_general.announce_all(message)
|
||||
|
||||
def cmd_shutdown(cdat):
|
||||
|
|
|
|||
|
|
@ -52,6 +52,11 @@ def cmd_create(cdat):
|
|||
|
||||
server = session.server
|
||||
quote_split = ' '.join(cdat['uinput']['splitted']).split("\"")
|
||||
|
||||
if len(quote_split) < 2:
|
||||
session.msg("You must enclose your username in quotation marks.")
|
||||
return
|
||||
|
||||
uname = quote_split[1]
|
||||
lastarg_split = quote_split[2].split()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue