mirror of
https://github.com/evennia/evennia.git
synced 2026-03-28 18:47:16 +01:00
Changed .typename to properly handle proxy classes.
This commit is contained in:
parent
70da53569d
commit
71b6600d87
4 changed files with 4 additions and 3 deletions
|
|
@ -94,7 +94,7 @@ class TypeclassBase(SharedMemoryModelBase):
|
|||
"""
|
||||
|
||||
# storage of stats
|
||||
attrs["typename"] = cls.__name__
|
||||
attrs["typename"] = name#cls.__name__
|
||||
attrs["path"] = "%s.%s" % (attrs["__module__"], name)
|
||||
|
||||
# typeclass proxy setup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue