Skip to content

Commit fa7e89b

Browse files
committed
Fixing flow
1 parent 1acc0b5 commit fa7e89b

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

AppSrc/InTheBar.wo

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ Object oInTheBar is a cWebView
8282
Send Speak of oSpeaker sResponse
8383
End
8484
Else Begin
85+
WebSet pbEnabled of oStartBtn to False
8586
WebSet pbOrderReceived to False
8687
Send Speak of oSpeaker "I'm sorry, I didn't catch that. Could you say it again please."
8788
End
@@ -319,10 +320,6 @@ Object oInTheBar is a cWebView
319320
WebSet pbEnabled of oStartBtn to True
320321
End_Procedure
321322

322-
Procedure OnVoiceEnd
323-
WebSet pbEnabled of oStartBtn to True
324-
End_Procedure
325-
326323
End_Object
327324

328325
End_Object

AppSrc/cOrderParser.pkg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Class cOrderParser is a cObject
5959
Send AddDrink "brandy'" 6.10
6060
Send AddDrink "guinness" 4.15
6161
Send AddDrink "lemon" 0.45
62-
Send AddDrink "proseco" 4.90
62+
Send AddDrink "prosecco" 4.90
6363
Send AddDrink "cava" 4.50
6464
End_Procedure
6565

0 commit comments

Comments
 (0)