aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--render.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/render.py b/render.py
index 882b85b..d890cc0 100644
--- a/render.py
+++ b/render.py
@@ -141,4 +141,8 @@ while True:
pygame.quit()
exit()
+ if not os.path.exists(options.map_file):
+ pygame.quit()
+ exit()
+
clock.tick(60)