0

Switch to autoupdated cacheTag from constant cacheMinutes

This commit is contained in:
Johan Kiviniemi
2011-12-13 10:14:34 +02:00
parent 0aeee084d7
commit abf643e3ae
3 changed files with 12 additions and 12 deletions

View File

@@ -19,7 +19,7 @@ import stat
import cPickle
import Image
import shutil
from time import strftime, localtime
from time import strftime, time, localtime
import json
import util
@@ -128,6 +128,8 @@ class MapGen(object):
config = config.replace("{spawn_coords}",
json.dumps(list(self.world.spawn)))
config = config.replace("{cache_tag}", str(int(time())))
#config = config.replace("{bg_color}", self.bg_color)
# helper function to get a label for the given rendermode