添加选择中音效

This commit is contained in:
13632530821
2022-11-19 18:33:27 +08:00
parent b0653d3fc2
commit d8e006a2de
2 changed files with 2 additions and 2 deletions

BIN
proc.wav Normal file

Binary file not shown.

View File

@@ -5,6 +5,7 @@ import random
import sys import sys
import win32con, win32api import win32con, win32api
import winsound import winsound
import time
gui_size = "620x200" gui_size = "620x200"
@@ -33,6 +34,7 @@ down_persent = 40
filename = "names.xls" filename = "names.xls"
configname = "config.data" configname = "config.data"
selname = "sel.wav" selname = "sel.wav"
procname = "proc.wav"
elim_rows = 1 elim_rows = 1
percent_override = True percent_override = True
@@ -157,11 +159,9 @@ def choose():
cur_stu = temp[:] cur_stu = temp[:]
else: else:
protection_override = False protection_override = False
if not cur_stu: if not cur_stu:
protection_override = False protection_override = False
sel_class(0) sel_class(0)
choice = random.choice(cur_stu) choice = random.choice(cur_stu)
# print(choice.name) # print(choice.name)
counter = 0; counter = 0;