添加选择中音效

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

View File

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