Make the prefetcher make eos use an optimized skill list with everything

prefetched
This commit is contained in:
cncfanatics
2010-10-28 22:13:58 +02:00
parent a4fde578e7
commit f994440922
2 changed files with 3 additions and 4 deletions

2
eos

Submodule eos updated: 5b7f8eaf71...fc317f1ba6

View File

@@ -18,14 +18,13 @@
#===============================================================================
import threading
import service
import eos.db
import eos.types
class PrefetchThread(threading.Thread):
def run(self):
# We're a daemon thread, as such, interpreter might get shut down while we do stuff
# Make sure we don't throw tracebacks to console
try:
eos.db.getItemsByCategory("Skill", eager=("effects", "attributes", "attributes.info.icon", "attributes.info.unit", "icon"))
eos.types.Character.setSkillList(eos.db.getItemsByCategory("Skill", eager=("effects", "attributes", "attributes.info.icon", "attributes.info.unit", "icon")))
except:
pass