From a4ebc71b58122bb8b2cfb3b53f428e66df9deb3f Mon Sep 17 00:00:00 2001 From: "Paul S. Ferrell" Date: Thu, 8 Oct 2009 11:19:46 -0600 Subject: [PATCH] This was neale's fault. --- tanks/run_tanks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tanks/run_tanks.py b/tanks/run_tanks.py index ba52a28..ae83990 100755 --- a/tanks/run_tanks.py +++ b/tanks/run_tanks.py @@ -43,7 +43,7 @@ class Flagger(asynchat.async_chat): self.flag = team -def run_tanks(args, turns): +def run_tanks(args, turns, flagger): p = Pflanzarr.Pflanzarr(args[0], args[1]) p.run(turns) @@ -86,7 +86,7 @@ def main(): asyncore.loop(60, count=1) now = time.time() if now - lastrun >= 60: - run_tanks(args, turns) + run_tanks(args, turns, flagger) lastrun = now if __name__ == '__main__':