Unstable 1.1.14.0

This commit is contained in:
Markus Isberg
2023-10-02 16:43:54 +03:00
parent 94f5a93a0c
commit cf8f0de659
606 changed files with 21906 additions and 11456 deletions
@@ -23,7 +23,7 @@ namespace Barotrauma
: string.Empty);
}
public static readonly Version MinimumHashCompatibleVersion = new Version(1, 0, 13, 2);
public static readonly Version MinimumHashCompatibleVersion = new Version(1, 1, 0, 0);
public const string LocalModsDir = "LocalMods";
public static readonly string WorkshopModsDir = Barotrauma.IO.Path.Combine(
@@ -110,6 +110,7 @@ namespace Barotrauma
InstallTime = rootElement.GetAttributeDateTime("installtime");
var fileResults = rootElement.Elements()
.Where(e => !ContentFile.IsLegacyContentType(e, this, logWarning: true))
.Select(e => ContentFile.CreateFromXElement(this, e))
.ToArray();
@@ -337,6 +338,7 @@ namespace Barotrauma
XElement rootElement = doc.Root ?? throw new NullReferenceException("XML document is invalid: root element is null.");
var fileResults = rootElement.Elements()
.Where(e => !ContentFile.IsLegacyContentType(e, this, logWarning: true))
.Select(e => ContentFile.CreateFromXElement(this, e))
.ToArray();