mirror of
https://github.com/evennia/evennia.git
synced 2026-04-07 00:45:22 +02:00
Removed .typeclass and .dbobj references in codebase.
This commit is contained in:
parent
1130dc5757
commit
70da53569d
23 changed files with 60 additions and 127 deletions
|
|
@ -58,7 +58,7 @@ class ScriptHandler(object):
|
|||
definition)
|
||||
autostart - start the script upon adding it
|
||||
"""
|
||||
if self.obj.dbobj.__class__.__name__ == "PlayerDB":
|
||||
if self.obj.__class__.__name__ == "PlayerDB":
|
||||
# we add to a Player, not an Object
|
||||
script = create.create_script(scriptclass, key=key, player=self.obj,
|
||||
autostart=autostart)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue