Fix hudCache update semantics

This commit is contained in:
Worros 2010-01-26 01:00:22 +08:00
parent 81b9b51707
commit 896de37d0d

View File

@ -449,6 +449,8 @@ class Importer:
# Call hudcache update if not in bulk import mode # Call hudcache update if not in bulk import mode
# FIXME: Need to test for bulk import that isn't rebuilding the cache # FIXME: Need to test for bulk import that isn't rebuilding the cache
if self.callHud: if self.callHud:
for hand in handlist:
if hand is not None:
hand.updateHudCache(self.database) hand.updateHudCache(self.database)
self.database.commit() self.database.commit()