mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-27 07:44:31 +02:00
Fix unable to run from battle due to menu collection is changing in for each loop.
This commit is contained in:
parent
f3e1778cad
commit
2616b07ecf
@ -3832,7 +3832,6 @@
|
|||||||
With BattleScreen
|
With BattleScreen
|
||||||
Select Case type
|
Select Case type
|
||||||
Case 0 'Complete round
|
Case 0 'Complete round
|
||||||
.BattleMenu._mainMenuItemList.Clear()
|
|
||||||
'The fastest pokemon ends its round first
|
'The fastest pokemon ends its round first
|
||||||
If BattleCalculation.MovesFirst(BattleScreen) = True Then
|
If BattleCalculation.MovesFirst(BattleScreen) = True Then
|
||||||
EndRoundOwn(BattleScreen)
|
EndRoundOwn(BattleScreen)
|
||||||
|
@ -297,7 +297,7 @@
|
|||||||
|
|
||||||
Private _mainMenuIndex As Integer = 0
|
Private _mainMenuIndex As Integer = 0
|
||||||
Private _mainMenuNextIndex As Integer = 0
|
Private _mainMenuNextIndex As Integer = 0
|
||||||
Public _mainMenuItemList As New List(Of MainMenuItem)
|
Private _mainMenuItemList As New List(Of MainMenuItem)
|
||||||
Private _mainMenuTeamPreviewAlpha As Integer = 0
|
Private _mainMenuTeamPreviewAlpha As Integer = 0
|
||||||
Private _mainMenuTeamPreviewLastIndex As Integer = -1
|
Private _mainMenuTeamPreviewLastIndex As Integer = -1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user