If the player used the Double Dip lifeline and guessed the correct answer on the first attempt, then Double Dip's final answer music cue will play for every final answer thereafter. Currently, the code looks like this:
Public Shared Sub FinalAnswer()
Dim stopmusic1 As Thread = New Thread(AddressOf StopCue1)
stopmusic1.Start()
If chance = 2 Then
dd_Final.URL = Application.StartupPath + "\Sounds\doubledip_final1.mp3"
ElseIf chance = 1 Then
dd_Final.URL = Application.StartupPath + "\Sounds\doubledip_final2.mp3"
active = False
End If
dd_Final.controls.play()
End Sub
A simple fix is to add another "if/then" within this subroutine that checks if the player guessed correctly, then deactivate the lifeline. Here is the code that does that:
If HostScreen.pnlAnswer.BackColor = Color.Lime Then
active = False
End If
If the player used the Double Dip lifeline and guessed the correct answer on the first attempt, then Double Dip's final answer music cue will play for every final answer thereafter. Currently, the code looks like this:
A simple fix is to add another "if/then" within this subroutine that checks if the player guessed correctly, then deactivate the lifeline. Here is the code that does that: