Started with version 1.1.0

This commit is contained in:
EntenKoeniq
2021-12-13 20:35:07 +01:00
parent b55ba2ac33
commit 68948990b5
2 changed files with 4 additions and 6 deletions

View File

@ -21,7 +21,7 @@ namespace CoopClient
private bool GameLoaded = false;
internal static readonly string CurrentVersion = "V1_0_1";
internal static readonly string CurrentVersion = "V1_1_0";
internal static bool ShareNpcsWithPlayers = false;
internal static bool DisableTraffic = false;
@ -258,11 +258,9 @@ namespace CoopClient
byte? flags;
Vehicle vehicleTryingToEnter = null;
if (player.IsInVehicle() || (vehicleTryingToEnter = player.VehicleTryingToEnter) != null)
if (player.IsInVehicle())
{
Vehicle veh = player.CurrentVehicle ?? vehicleTryingToEnter;
Vehicle veh = player.CurrentVehicle;
veh.Opacity = 75;
flags = veh.GetVehicleFlags(fullSync);

View File

@ -21,7 +21,7 @@ namespace CoopServer
internal class Server
{
private static readonly string CompatibleVersion = "V1_0";
private static readonly string CompatibleVersion = "V1_1";
public static readonly Settings MainSettings = Util.Read<Settings>("CoopSettings.xml");
private readonly Blocklist MainBlocklist = Util.Read<Blocklist>("Blocklist.xml");