From 57609975e0ea98c7152859ffd4c965c0879608ad Mon Sep 17 00:00:00 2001 From: SpitfireX Date: Sun, 16 Aug 2015 04:48:55 +0200 Subject: draw_text is now callable externally (cherrypick from strategy-rework) --- strategy.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'strategy.py') diff --git a/strategy.py b/strategy.py index 0d2d8f0..233541b 100644 --- a/strategy.py +++ b/strategy.py @@ -190,4 +190,6 @@ class Strategy: # more debugging gui.draw_line(self.c.player.center, self.target, self.color) + gui.draw_text(self.target, str(round(zipped[0][1], 2)), (0,0,0), draw_centered = True) + return self.target -- cgit v1.2.3