v1.0.20.1 (summer patch)

This commit is contained in:
itchyOwl
2023-06-15 16:46:54 +03:00
parent 6acac1d143
commit 83de72e3d2
209 changed files with 4497 additions and 2488 deletions
@@ -43,8 +43,8 @@ namespace Barotrauma.Networking
partial class ServerSettings : ISerializableEntity
{
public const int PacketLimitMin = 1200,
PacketLimitWarning = 2400,
PacketLimitDefault = 3000,
PacketLimitWarning = 3500,
PacketLimitDefault = 4000,
PacketLimitMax = 10000;
public const string SettingsFile = "serversettings.xml";
@@ -392,8 +392,10 @@ namespace Barotrauma.Networking
set;
}
private int tickRate = 20;
[Serialize(20, IsPropertySaveable.Yes)]
public const int DefaultTickRate = 20;
private int tickRate = DefaultTickRate;
[Serialize(DefaultTickRate, IsPropertySaveable.Yes)]
public int TickRate
{
get { return tickRate; }
@@ -522,7 +524,7 @@ namespace Barotrauma.Networking
}
}
[Serialize(LosMode.Opaque, IsPropertySaveable.Yes)]
[Serialize(LosMode.Transparent, IsPropertySaveable.Yes)]
public LosMode LosMode
{
get;