This commit is contained in:
Vishal 2025-01-15 21:39:35 +05:30 committed by GitHub
parent 8119aa1203
commit acd84b4b3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,10 +6,10 @@ from __future__ import annotations
from typing import override
import bauiv1 as bui
import random
import bauiv1 as bui
class HelpWindow(bui.MainWindow):
"""A window providing help on how to play."""
@ -645,7 +645,7 @@ class HelpWindow(bui.MainWindow):
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()
@override