mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-29 00:34:38 +02:00
Voltorb Flip coin case cap won't prevent game
This commit is contained in:
parent
2e85705bf8
commit
e8e27c727e
@ -284,10 +284,6 @@
|
|||||||
CanContinue = False
|
CanContinue = False
|
||||||
Case "voltorbflip"
|
Case "voltorbflip"
|
||||||
If Core.Player.Inventory.GetItemAmount(54.ToString) > 0 Then
|
If Core.Player.Inventory.GetItemAmount(54.ToString) > 0 Then
|
||||||
If CInt(GameModeManager.GetGameRuleValue("CoinCaseCap", "0")) > 0 AndAlso Core.Player.Coins > CInt(GameModeManager.GetGameRuleValue("CoinCaseCap", "0")) Then
|
|
||||||
Screen.TextBox.Show(Localization.GetString("VoltorbFlip_BeforeGame_FullCoinCase", "Your Coin Case is already full!"))
|
|
||||||
IsReady = True
|
|
||||||
Else
|
|
||||||
If VoltorbFlip.VoltorbFlipScreen.TotalCoins = -1 Then
|
If VoltorbFlip.VoltorbFlipScreen.TotalCoins = -1 Then
|
||||||
Core.SetScreen(New VoltorbFlip.VoltorbFlipScreen(CurrentScreen))
|
Core.SetScreen(New VoltorbFlip.VoltorbFlipScreen(CurrentScreen))
|
||||||
End If
|
End If
|
||||||
@ -306,7 +302,6 @@
|
|||||||
IsReady = True
|
IsReady = True
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
End If
|
|
||||||
Else
|
Else
|
||||||
Screen.TextBox.Show(Localization.GetString("VoltorbFlip_BeforeGame_NoCoinCase", "You don't have a Coin Case!~Come back when you have one!"))
|
Screen.TextBox.Show(Localization.GetString("VoltorbFlip_BeforeGame_NoCoinCase", "You don't have a Coin Case!~Come back when you have one!"))
|
||||||
IsReady = True
|
IsReady = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user