fix code change bug
This commit is contained in:
parent
ad51c396a7
commit
42ae52057f
4 changed files with 50 additions and 7 deletions
|
|
@ -23,15 +23,24 @@
|
|||
|
||||
Var Timeout = Timeout + 1
|
||||
If Timeout = 3 Then
|
||||
If IntVendingCampaign < PayAmount Then
|
||||
Var SumCoinAmount = CoinAmount + IntVendingCampaign
|
||||
If SumCoinAmount >= PayAmount Then
|
||||
Var Canout = SumCoinAmount - PayAmount
|
||||
If Canout > 0 Then
|
||||
Change Canout
|
||||
If FreeVendingCampaign = 0 Then
|
||||
If IntVendingCampaign < PayAmount Then
|
||||
Var SumCoinAmount = CoinAmount + IntVendingCampaign
|
||||
If SumCoinAmount >= PayAmount Then
|
||||
Var Canout = SumCoinAmount - PayAmount
|
||||
If Canout > 0 Then
|
||||
Change Canout
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
EndIf
|
||||
Else
|
||||
|
||||
Var Canout = CoinAmount
|
||||
If Canout > 0 Then
|
||||
Change Canout
|
||||
EndIf
|
||||
|
||||
EndIf
|
||||
EndIf
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue