fix #162
This commit is contained in:
1 parent
d522d176dd
commit
fa7c5dac5f
1 file changed
+3
-1
@@ -100,7 +100,9 @@ class BadukPanWidget(Widget):
|
||||
|
||||
def play_stone_sound(self, *_args):
|
||||
if self.katrain.config("timer/sound"):
|
||||
random.choice(self.stones_sounds).play()
|
||||
sound = random.choice(self.stones_sounds)
|
||||
if sound:
|
||||
sound.play()
|
||||
|
||||
def on_touch_up(self, touch):
|
||||
if ("button" in touch.profile and touch.button != "left") or not self.gridpos_x:
|
||||
|
||||
Reference in new issue
Block a user