Fixed a misplaced import.

This commit is contained in:
Storm Dragon 2019-11-26 19:53:36 -05:00
parent 8a1471f648
commit 744aba1a32

View File

@ -12,6 +12,7 @@ import pygame
import random import random
import requests import requests
import speechd import speechd
import subprocess
import time import time
localConfig = configparser.ConfigParser() localConfig = configparser.ConfigParser()
@ -151,7 +152,6 @@ def game_menu(*options):
time.sleep(0.001) time.sleep(0.001)
def donate(*mode): def donate(*mode):
import subprocess
subprocess.call(["xdg-open", "https://liberapay.com/stormdragon2976/donate"]) subprocess.call(["xdg-open", "https://liberapay.com/stormdragon2976/donate"])
pygame.mixer.music.pause() pygame.mixer.music.pause()
mode = "menu" mode = "menu"