add one to seat adjustment index in update_table_position

This commit is contained in:
eblade 2009-03-28 14:31:44 -04:00
parent 2b97b4e635
commit e99badf69d

View File

@ -176,7 +176,7 @@ class Hud:
loc = self.config.get_locations(self.table.site, self.max) loc = self.config.get_locations(self.table.site, self.max)
# TODO: is stat_windows getting converted somewhere from a list to a dict, for no good reason? # TODO: is stat_windows getting converted somewhere from a list to a dict, for no good reason?
for i, w in enumerate(self.stat_windows.itervalues()): for i, w in enumerate(self.stat_windows.itervalues()):
(x, y) = loc[adj[i]] (x, y) = loc[adj[i+1]]
w.relocate(x, y) w.relocate(x, y)
return True return True