Fixed crash: Font was initialized before pygame.init()
This commit is contained in:
parent
bf09b0bcc6
commit
825322d000
1 changed files with 2 additions and 0 deletions
2
pg.py
2
pg.py
|
@ -3,6 +3,8 @@
|
||||||
import pygame
|
import pygame
|
||||||
from tools import text
|
from tools import text
|
||||||
|
|
||||||
|
pygame.init()
|
||||||
|
|
||||||
log = text.Log()
|
log = text.Log()
|
||||||
|
|
||||||
buttonlist = False
|
buttonlist = False
|
||||||
|
|
Loading…
Reference in a new issue