Make sure Typeclass.at_init() is always called on cache initialization for any typeclass. Resolve #2641
This commit is contained in:
parent
a427594f25
commit
5e2372f79d
6 changed files with 27 additions and 8 deletions
|
|
@ -157,8 +157,6 @@ class ScriptDB(TypedObject):
|
|||
# deprecated ...
|
||||
pass
|
||||
if isinstance(value, (str, int)):
|
||||
from evennia.objects.models import ObjectDB
|
||||
|
||||
value = to_str(value)
|
||||
if value.isdigit() or value.startswith("#"):
|
||||
dbid = dbref(value, reqhash=False)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue