summaryrefslogtreecommitdiff
path: root/gui.py
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2015-08-10 01:26:46 +0200
committerFlorian Jung <flo@windfisch.org>2015-08-10 01:26:46 +0200
commitbedcfe67296a7d5b20e4b01b634f95d51529d4a4 (patch)
treef977cce412b4b78b1c71301a6a5e3105071582df /gui.py
parentf8fc2972e9ebd3fa335c249c9a1717ab1a30ebf7 (diff)
fix bug with screen resizing
Diffstat (limited to 'gui.py')
-rw-r--r--gui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui.py b/gui.py
index 75bba83..ade95c1 100644
--- a/gui.py
+++ b/gui.py
@@ -116,6 +116,8 @@ def set_client(cl):
def draw_frame():
global screen
global movement
+ global zoom
+ global screensize
pygame.event.pump()
clock.tick()