mirror of
https://github.com/evennia/evennia.git
synced 2026-04-08 09:24:37 +02:00
Fixed and refactored OOB system and tested with new websocket client
This commit is contained in:
parent
9ba212c264
commit
c60a5fdea1
10 changed files with 209 additions and 128 deletions
|
|
@ -144,9 +144,9 @@ class ObjectDB(TypedObject):
|
|||
# make sure to sync the contents cache when initializing
|
||||
#_GA(self, "contents_update")()
|
||||
|
||||
def _at_db_player_presave(self):
|
||||
def _at_db_player_postsave(self):
|
||||
"""
|
||||
This hook is called automatically just before the player field is saved.
|
||||
This hook is called automatically after the player field is saved.
|
||||
"""
|
||||
# we need to re-cache this for superusers to bypass.
|
||||
self.locks.cache_lock_bypass(self)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue