add else for reset topping id

This commit is contained in:
kenta-work 2023-09-01 09:42:20 +07:00
parent 6400c87422
commit aa66766406

View file

@ -4843,6 +4843,8 @@
If CustomCoffeeWaterState[4] = "PressForever" Then
Var topping7 = toppingID7index5
EndIf
Else
Var topping7 = 0
EndIf
If showCoffeeQuantity = "Enable" Then
@ -4855,6 +4857,8 @@
If CustomCoffeeQuantityState[2] = "PressForever" Then
Var topping8 = toppingID8index3
EndIf
Else
Var topping8 = 0
EndIf
If showCoffeeLevel = "Enable" Then
@ -4867,6 +4871,8 @@
If CustomCoffeeLevelState[2] = "PressForever" Then
Var topping9 = toppingID9index3
EndIf
Else
Var topping9 = 0
EndIf
If showCoffeeTamping = "Enable" Then
@ -4879,7 +4885,14 @@
If CustomCoffeeTampingState[2] = "PressForever" Then
Var topping10 = toppingID10index3
EndIf
Else
Var topping10 = 0
EndIf
Else
Var topping7 = 0
Var topping8 = 0
Var topping9 = 0
Var topping10 = 0
EndIf