Commit 9eb54fc1 authored by Ahmad Reza's avatar Ahmad Reza
Browse files

vis.py: Added the draw() in the while loop of draw_world, so zooming and adding any tiles can work

parent 554b3306
......@@ -420,6 +420,7 @@ class VisWindow(pyglet.window.Window):
def draw_world(self):
while not self.simulation_running:
self.dispatch_events()
self.draw()
if self.simulation_running or self.window_active is False:
return
self.dispatch_events()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment