mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-05 06:53:18 +08:00
CI Fix
This commit is contained in:
parent
8119aa1203
commit
acd84b4b3d
@ -6,10 +6,10 @@ from __future__ import annotations
|
|||||||
|
|
||||||
from typing import override
|
from typing import override
|
||||||
|
|
||||||
import bauiv1 as bui
|
|
||||||
|
|
||||||
import random
|
import random
|
||||||
|
|
||||||
|
import bauiv1 as bui
|
||||||
|
|
||||||
|
|
||||||
class HelpWindow(bui.MainWindow):
|
class HelpWindow(bui.MainWindow):
|
||||||
"""A window providing help on how to play."""
|
"""A window providing help on how to play."""
|
||||||
@ -645,7 +645,7 @@ class HelpWindow(bui.MainWindow):
|
|||||||
res_scale=0.5,
|
res_scale=0.5,
|
||||||
)
|
)
|
||||||
|
|
||||||
def _play_sound(self, text: str, num: int):
|
def _play_sound(self, text: str, num: int) -> None:
|
||||||
bui.getsound(text + str(random.randint(1, num))).play()
|
bui.getsound(text + str(random.randint(1, num))).play()
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user