mirror of
https://github.com/evennia/evennia.git
synced 2026-03-24 08:46: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
|
|
@ -15,9 +15,13 @@ from django.conf import settings
|
|||
|
||||
# To ensure the sanity of the model, there are a
|
||||
# few property names we won't allow the admin to
|
||||
# set just like that.
|
||||
# set just like that. Note that these are *not* related
|
||||
# to *in-game* safety (if you can edit typeclasses you have
|
||||
# full access anyway), so no protection against changing
|
||||
# e.g. 'locks' or 'permissions' should go here.
|
||||
PROTECTED = ['id', 'dbobj', 'db', 'objects', 'typeclass',
|
||||
'attr', 'save', 'delete']
|
||||
|
||||
# If this is true, all non-protected property assignments
|
||||
# are directly stored to a database attribute
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue