Merge branch 'master' of github.com:lvl2/avocados

master
David Raison 2014-08-30 22:48:56 +02:00
commit fd8cbc74d0
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@
Avocados and stuff
"""
import os, random
import os, random, sys
import pygame
import avocado, lawyer
from pygame.locals import *
@ -133,6 +133,8 @@ class TheGame:
# Had enough of this?
if event.type == pygame.QUIT:
running = False
pygame.quit()
sys.exit()
pygame.display.flip()