Quit battle if versions don't match
This commit is contained in:
parent
9aa43a95a4
commit
0600eb4d35
|
@ -348,6 +348,12 @@
|
|||
If GameController.RELEASEVERSION = _oppGameVersion Then
|
||||
_startNow = True
|
||||
Else
|
||||
Core.ServersManager.ServerConnection.SendPackage(New Servers.Package(Servers.Package.PackageTypes.BattleQuit, Core.ServersManager.ID, Servers.Package.ProtocolTypes.TCP, PartnerNetworkID.ToString()))
|
||||
Dim s As Screen = CurrentScreen
|
||||
While s.Identification <> Identifications.OverworldScreen
|
||||
s = s.PreScreen
|
||||
End While
|
||||
Core.SetScreen(s)
|
||||
TextBox.Show("Game versions don't match.")
|
||||
End If
|
||||
Else
|
||||
|
|
Loading…
Reference in New Issue