This commit is contained in:
Aeris 2018-08-22 21:47:34 +02:00
commit 1b618adba5

View File

@ -51,6 +51,7 @@ if config.UseGui:
pygame.draw.rect(screen, (r, g, b), pygame.Rect(sf*x, sf*y, sf, sf)) pygame.draw.rect(screen, (r, g, b), pygame.Rect(sf*x, sf*y, sf, sf))
except: except:
pass pass
time.sleep(1/30)
pygame.display.flip() pygame.display.flip()
logging.info("Closing GUI") logging.info("Closing GUI")