initialise display state variables in constructor

This commit is contained in:
Greg Hewgill 2011-10-01 08:17:38 +13:00
parent c9ecb5f31e
commit 4ee9b846f9

View File

@ -110,6 +110,10 @@ class Display:
self.flash_on = False
self.flash_chars = [[0] * 0x400] * 2
self.page = 1
self.text = True
self.colour = False
self.chargen = []
for c in self.characters:
chars = [[pygame.Surface((14, 16)), pygame.Surface((14, 16))],