From e99badf69d5754156abdd1e604337c0e0f24222d Mon Sep 17 00:00:00 2001 From: eblade Date: Sat, 28 Mar 2009 14:31:44 -0400 Subject: [PATCH] add one to seat adjustment index in update_table_position --- pyfpdb/Hud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/Hud.py b/pyfpdb/Hud.py index 804d8ed2..b2266213 100644 --- a/pyfpdb/Hud.py +++ b/pyfpdb/Hud.py @@ -176,7 +176,7 @@ class Hud: 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? for i, w in enumerate(self.stat_windows.itervalues()): - (x, y) = loc[adj[i]] + (x, y) = loc[adj[i+1]] w.relocate(x, y) return True