diff options
| author | Graham Northup <grissess@nexusg.org> | 2019-11-16 00:30:13 -0500 |
|---|---|---|
| committer | Graham Northup <grissess@nexusg.org> | 2019-11-16 00:30:13 -0500 |
| commit | 964ff690b2d82293b057397da482e2071d3827aa (patch) | |
| tree | 7491f280d557c3137b437491a646165e175a2061 | |
| parent | da7b28f7c66ace58821a4f2add4007b373dcc8f9 (diff) | |
Make renderer quit if client exits
| -rw-r--r-- | render.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -141,4 +141,8 @@ while True: pygame.quit() exit() + if not os.path.exists(options.map_file): + pygame.quit() + exit() + clock.tick(60) |
