Fix sound sweet.mp3 play when no topping
This commit is contained in:
parent
5da0481f53
commit
d1af807839
1 changed files with 8 additions and 11 deletions
|
|
@ -475,22 +475,19 @@
|
||||||
Var text_x_add_oreo_price = 510
|
Var text_x_add_oreo_price = 510
|
||||||
Var text_show_normal_x = 408
|
Var text_show_normal_x = 408
|
||||||
Var text_show_blend_x = 872
|
Var text_show_blend_x = 872
|
||||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3"
|
If BGSugar = "Enable" Then
|
||||||
|
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3"
|
||||||
|
EndIf
|
||||||
EndIf
|
EndIf
|
||||||
If LanguageShow = "THAI" Then
|
If LanguageShow = "THAI" Then
|
||||||
Var topping_shot_price_x = 600
|
Var topping_shot_price_x = 600
|
||||||
Var text_x_add_oreo_price = 490
|
Var text_x_add_oreo_price = 490
|
||||||
Var text_show_normal_x = 386
|
Var text_show_normal_x = 386
|
||||||
Var text_show_blend_x = 852
|
Var text_show_blend_x = 852
|
||||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_thai/select_level.mp3"
|
If BGSugar = "Enable" Then
|
||||||
EndIf
|
Play "/mnt/sdcard/coffeevending/taobin_project/sound_thai/select_level.mp3"
|
||||||
If LanguageShow = "MALAY" Then
|
EndIf
|
||||||
Var topping_shot_price_x = 630
|
Endif
|
||||||
Var text_x_add_oreo_price = 510
|
|
||||||
Var text_show_normal_x = 408
|
|
||||||
Var text_show_blend_x = 872
|
|
||||||
Play "/mnt/sdcard/coffeevending/taobin_project/sound_eng/Sweet.mp3"
|
|
||||||
EndIf
|
|
||||||
|
|
||||||
If SelectDrinkType = 1 Then
|
If SelectDrinkType = 1 Then
|
||||||
Var showname = NameLang[IndexDrinktType][LanguageShowByIndex]
|
Var showname = NameLang[IndexDrinktType][LanguageShowByIndex]
|
||||||
|
|
@ -1412,7 +1409,7 @@
|
||||||
<Y> 752 </Y>
|
<Y> 752 </Y>
|
||||||
<Width> 1080</Width>
|
<Width> 1080</Width>
|
||||||
<Align> Center </Align>
|
<Align> Center </Align>
|
||||||
<Size> 68 </Size>
|
<Size> 66 </Size>
|
||||||
<Font> KanitMediumTTF </Font>
|
<Font> KanitMediumTTF </Font>
|
||||||
<Color> 0x513C2F </Color>
|
<Color> 0x513C2F </Color>
|
||||||
<Value> showname </Value>
|
<Value> showname </Value>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue