mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-16 02:14:52 +02:00
Fixed scriptblocks not showing the text in AdditionalValue when the Action value is set to 2
This commit is contained in:
parent
3799887e15
commit
e8d980b34a
@ -54,7 +54,7 @@
|
||||
End Function
|
||||
|
||||
Public Overrides Sub ClickFunction()
|
||||
If Me.TriggerID = 1 Then
|
||||
If Me.TriggerID = 1 Or Me.TriggerID = 2 Then
|
||||
ActionScript.TempInputDirection = -1
|
||||
Me.clickedToActivate = True
|
||||
TriggerScript(False)
|
||||
@ -81,12 +81,15 @@
|
||||
Me.clickedToActivate = False
|
||||
SoundManager.PlaySound("select")
|
||||
End If
|
||||
|
||||
If Me.TriggerID = 2 Then
|
||||
oS.ActionScript.StartScript(Me.AdditionalValue, GetActivationID())
|
||||
Else
|
||||
oS.ActionScript.StartScript(Me._scriptID, GetActivationID())
|
||||
ActionScript.TempSpin = True
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
TriggeredScriptBlock = False
|
||||
End Sub
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user