mirror of
https://github.com/evennia/evennia.git
synced 2026-03-19 14:26:30 +01:00
Made changes to idmapper that might help alleviate issue101 (more people need to run it to make sure). Moved around default command modules to be more logically named and distributed.
This commit is contained in:
parent
19dd476115
commit
3f703efc2d
17 changed files with 1920 additions and 1851 deletions
|
|
@ -247,7 +247,7 @@ class ValidateScripts(Script):
|
|||
|
||||
def at_repeat(self):
|
||||
"called every hour"
|
||||
print "ValidateScripts run."
|
||||
#print "ValidateScripts run."
|
||||
ScriptDB.objects.validate()
|
||||
|
||||
class ValidateChannelHandler(Script):
|
||||
|
|
@ -262,7 +262,7 @@ class ValidateChannelHandler(Script):
|
|||
|
||||
def at_repeat(self):
|
||||
"called every hour+"
|
||||
print "ValidateChannelHandler run."
|
||||
#print "ValidateChannelHandler run."
|
||||
channelhandler.CHANNELHANDLER.update()
|
||||
|
||||
class AddCmdSet(Script):
|
||||
|
|
@ -308,9 +308,7 @@ class AddCmdSet(Script):
|
|||
"""
|
||||
This removes the cmdset when the script stops
|
||||
"""
|
||||
cmdset = self.db.cmdset
|
||||
|
||||
print "AddCmdSets: at_stop() for %s called." % self.obj
|
||||
cmdset = self.db.cmdset
|
||||
if cmdset:
|
||||
if self.db.add_default:
|
||||
self.obj.cmdset.delete_default()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue