mirror of
https://github.com/evennia/evennia.git
synced 2026-03-17 05:16:31 +01:00
Added a check for multiple connected sessions to avoid moving disconnected object more than once. Resolves issue 145.
This commit is contained in:
parent
8288534cf6
commit
2f78bacd97
6 changed files with 26 additions and 19 deletions
|
|
@ -55,7 +55,7 @@ class Object(TypeClass):
|
|||
|
||||
if create_cmdset:
|
||||
dbobj.cmdset = CmdSetHandler(dbobj)
|
||||
if utils.inherits_from(self, settings.BASE_CHARACTER_TYPECLASS):
|
||||
if utils.inherits_from(self, settings.BASE_CHARACTER_TYPECLASS) or utils.inherits_from(self, Character):
|
||||
dbobj.cmdset.outside_access = False
|
||||
if create_scripts:
|
||||
dbobj.scripts = ScriptHandler(dbobj)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue