mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 06:27:17 +02:00
Made the proxy typeclass system work in principle, using a wrapper of the __new__ method for the class.
This commit is contained in:
parent
8314d8ba5e
commit
32e44dceab
7 changed files with 26 additions and 78 deletions
|
|
@ -51,7 +51,6 @@ class TypedObjectManager(idmapper.manager.SharedMemoryManager):
|
|||
Overload the standard get. This will limit itself to only
|
||||
return the current typeclass.
|
||||
"""
|
||||
print self.model
|
||||
kwargs.update({"db_typeclass_path":self.model.path})
|
||||
return super(TypedObjectManager, self).get(**kwargs)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue