OBS- need to run migrations! Refactored attributes to use a slightly different internal storage format for faster access. Also set up caching of all attribute data, so subsequent reads of an attribute will not hit the database anymore, and writes will re-cache.

This commit is contained in:
Griatch 2012-02-14 23:40:16 +01:00
parent 8b5f3628ab
commit a32aebaa0e
12 changed files with 560 additions and 152 deletions

View file

@ -55,7 +55,7 @@ class GameTime(Script):
self.persistent = True
self.start_delay = True
self.attr("game_time", 0.0) #IC time
self.attr("run_time", 0.0) #OOC time
self.attr("run_time", 0.0) #OOC time
self.attr("up_time", 0.0) #OOC time
def at_repeat(self):