mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-28 16:24:45 +02:00
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
|
If GameController.RELEASEVERSION = _oppGameVersion Then
|
||||||
_startNow = True
|
_startNow = True
|
||||||
Else
|
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.")
|
TextBox.Show("Game versions don't match.")
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user