mirror of
https://github.com/evennia/evennia.git
synced 2026-04-04 06:57:16 +02:00
Fixed creation function that caused entities to be wrong-named in certain circumstances. Server now starts and shutsdown without tracebacks.
This commit is contained in:
parent
3d557f6bf9
commit
0b01df1fcc
3 changed files with 9 additions and 6 deletions
|
|
@ -31,7 +31,8 @@ class Channel(ChannelDB):
|
|||
# with the utils.create.create_channel function.
|
||||
cdict = self._createdict
|
||||
if not cdict["key"]:
|
||||
self.db_key = "#i" % self.dbid
|
||||
if not self.db_key:
|
||||
self.db_key = "#i" % self.dbid
|
||||
elif cdict["key"] and self.key != cdict["key"]:
|
||||
self.key = cdict["key"]
|
||||
if cdict["keep_log"]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue