mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 22:17:17 +02:00
Trunk: Merged griatch-branch. This implements a new reload mechanism - splitting Evennia into two processes: Server and Portal with different tasks. Also cleans and fixes several bugs in script systems as well as introduces i18n (courtesy of raydeejay).
This commit is contained in:
parent
14dae44a46
commit
f13e8cdf7c
50 changed files with 3175 additions and 2565 deletions
|
|
@ -265,3 +265,10 @@ class ScriptDB(TypedObject):
|
|||
# By setting is_active=True, we trick the script not to run "again".
|
||||
self.is_active = True
|
||||
return super(ScriptDB, self).at_typeclass_error()
|
||||
|
||||
delete_iter = 0
|
||||
def delete(self):
|
||||
if self.delete_iter > 0:
|
||||
return
|
||||
self.delete_iter += 1
|
||||
super(ScriptDB, self).delete()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue