mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-27 07:44:31 +02:00
no shiny/0
Prevent possible divide by 0 issue for Shiny boost
This commit is contained in:
parent
6ca257ce91
commit
bdebdd8f7f
@ -36,6 +36,11 @@
|
|||||||
Me.Name = Name
|
Me.Name = Name
|
||||||
Me.Description = Description
|
Me.Description = Description
|
||||||
Me.Value = Value
|
Me.Value = Value
|
||||||
|
|
||||||
|
If Me.EventType = EventTypes.ShinyMultiplier AndAlso Me.Value = "0" Then
|
||||||
|
Me.Value = "0.1"
|
||||||
|
End If
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Public Overrides Function ToString() As String
|
Public Overrides Function ToString() As String
|
||||||
|
Loading…
x
Reference in New Issue
Block a user