fixed a small bug in storeHudCache
This commit is contained in:
parent
d0ae2a155d
commit
09f1616e87
|
@ -1949,11 +1949,9 @@ class Database:
|
||||||
insert_hudcache = insert_hudcache.replace('%s', self.sql.query['placeholder'])
|
insert_hudcache = insert_hudcache.replace('%s', self.sql.query['placeholder'])
|
||||||
|
|
||||||
#print "DEBUG: %s %s %s" %(hid, pids, pdata)
|
#print "DEBUG: %s %s %s" %(hid, pids, pdata)
|
||||||
inserts = []
|
|
||||||
for p in pdata:
|
for p in pdata:
|
||||||
#NOTE: Insert new stats at right place because SQL needs strict order
|
#NOTE: Insert new stats at right place because SQL needs strict order
|
||||||
line = []
|
line = []
|
||||||
|
|
||||||
line.append(1) # HDs
|
line.append(1) # HDs
|
||||||
line.append(pdata[p]['street0VPI'])
|
line.append(pdata[p]['street0VPI'])
|
||||||
line.append(pdata[p]['street0Aggr'])
|
line.append(pdata[p]['street0Aggr'])
|
||||||
|
@ -2042,7 +2040,8 @@ class Database:
|
||||||
line.append(pdata[p]['street2Raises'])
|
line.append(pdata[p]['street2Raises'])
|
||||||
line.append(pdata[p]['street3Raises'])
|
line.append(pdata[p]['street3Raises'])
|
||||||
line.append(pdata[p]['street4Raises'])
|
line.append(pdata[p]['street4Raises'])
|
||||||
|
|
||||||
|
hc, hcs = {}, []
|
||||||
hc['gametypeId'] = gid
|
hc['gametypeId'] = gid
|
||||||
hc['playerId'] = pids[p]
|
hc['playerId'] = pids[p]
|
||||||
hc['activeSeats'] = len(pids)
|
hc['activeSeats'] = len(pids)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user