Prevent BattleMenu from softlocking pvp battle...
...so that the BattleMenu can't be used until there are no more text messages displaying.
This commit is contained in:
parent
eca6a70ed6
commit
4a16501926
|
@ -317,7 +317,7 @@
|
||||||
|
|
||||||
Public Sub Update(ByRef BattleScreen As BattleScreen)
|
Public Sub Update(ByRef BattleScreen As BattleScreen)
|
||||||
Dim blockinteractscreen() As Screen.Identifications = {Screen.Identifications.PartyScreen, Screen.Identifications.SummaryScreen, Screen.Identifications.PauseScreen, Screen.Identifications.ChatScreen}
|
Dim blockinteractscreen() As Screen.Identifications = {Screen.Identifications.PartyScreen, Screen.Identifications.SummaryScreen, Screen.Identifications.PauseScreen, Screen.Identifications.ChatScreen}
|
||||||
If blockinteractscreen.Contains(Core.CurrentScreen.Identification) = True Then
|
If blockinteractscreen.Contains(Core.CurrentScreen.Identification) = True OrElse (BattleScreen.BattleQuery.Count > 0 AndAlso BattleScreen.BattleQuery(0).QueryType = QueryObject.QueryTypes.Textbox) Then
|
||||||
CanInteract = False
|
CanInteract = False
|
||||||
Else
|
Else
|
||||||
CanInteract = True
|
CanInteract = True
|
||||||
|
|
Loading…
Reference in New Issue