mirror of
https://github.com/evennia/evennia.git
synced 2026-03-19 06:16:31 +01:00
Fixed bugs in scripts starting and with multiple aliases getting a malformed tag category.
This commit is contained in:
parent
24aa626a61
commit
9839e0ba1f
3 changed files with 18 additions and 13 deletions
|
|
@ -154,9 +154,10 @@ class ScriptClass(TypeClass):
|
|||
if obj:
|
||||
# check so the scripted object is valid and initalized
|
||||
try:
|
||||
object.__getattribute__(obj, 'cmdset')
|
||||
object.__getattribute__(obj.dbobj, 'cmdset')
|
||||
except AttributeError:
|
||||
# this means the object is not initialized.
|
||||
logger.log_trace()
|
||||
self.dbobj.is_active = False
|
||||
return 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue