black screen now returns to the dev menu instead of the title

This commit is contained in:
Nicholas Dyer 2023-05-15 01:14:59 -04:00
parent 8675caaca6
commit eef3a8756d

View File

@ -10,7 +10,7 @@ class Surface(surface.GameSurface):
self.delay = 1
self.font = pygame.font.Font(resources_dir + '/fonts/5Pts5.ttf', 10)
self.title = pygame.image.load(resources_dir + '/images/debug/invalid.png').convert_alpha()
self.next_surface = 'title'
self.next_surface = '_dev_menu'
def update(self):
self.preprocess()