mirror of
https://github.com/evennia/evennia.git
synced 2026-04-04 23:17:17 +02:00
Minor optimizations and some fixes to the dummyrunner.
This commit is contained in:
parent
5117bd2a0a
commit
f68523cc22
3 changed files with 57 additions and 40 deletions
|
|
@ -884,9 +884,7 @@ class TypedObject(SharedMemoryModel):
|
|||
# (we make sure to not incur a loop by not triggering the
|
||||
# typeclass' __getattribute__, since that one would
|
||||
# try to look back to this very database object.)
|
||||
typeclass = _GA(self, 'typeclass')
|
||||
# will raise AttributeError also if typeclass was malformed
|
||||
return _GA(typeclass, propname)
|
||||
return _GA(_GA(self, 'typeclass'), propname)
|
||||
|
||||
#@property
|
||||
_dbid_cache = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue