mirror of
https://github.com/evennia/evennia.git
synced 2026-03-27 10:16:32 +01:00
Starting to remove obj.typeclass references. Server now starts and stops cleanly, but not yet tested with actual gameplay.
This commit is contained in:
parent
e214c036c8
commit
a93d318121
3 changed files with 12 additions and 22 deletions
|
|
@ -124,8 +124,7 @@ class ScriptDB(TypedObject):
|
|||
obj = _GA(self, "db_player")
|
||||
if not obj:
|
||||
obj = _GA(self, "db_obj")
|
||||
if obj:
|
||||
return obj.typeclass
|
||||
return obj
|
||||
|
||||
def __set_obj(self, value):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue