mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 12:07:17 +02:00
Fixed issue with creating new Scripts. Silly tuples!
This commit is contained in:
parent
8823bb1af1
commit
5a7ee64fc4
1 changed files with 2 additions and 2 deletions
|
|
@ -49,8 +49,8 @@ class GlobalContainer(object):
|
|||
desc = self.script_data[item].get('desc', '')
|
||||
|
||||
if not found:
|
||||
new_script = typeclass.create(key=item, persistent=True, interval=interval, start_delay=start_delay,
|
||||
repeats=repeats, desc=desc)
|
||||
new_script, errors = typeclass.create(key=item, persistent=True, interval=interval, start_delay=start_delay,
|
||||
repeats=repeats, desc=desc)
|
||||
new_script.start()
|
||||
self.script_storage[item] = new_script
|
||||
return new_script
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue