Build 0.19.11.0

This commit is contained in:
Markus Isberg
2022-10-06 17:13:27 +03:00
parent 91f2f6f4f7
commit 05c7b1f869
13 changed files with 42 additions and 7 deletions
@@ -113,7 +113,10 @@ namespace Barotrauma
{
case ModType.Workshop:
pkgElem.SetAttributeValue("name", pkg.Name);
pkgElem.SetAttributeValue("id", pkg.UgcId.ToString());
if (pkg.UgcId.TryUnwrap(out ContentPackageId ugcId))
{
pkgElem.SetAttributeValue("id", ugcId.ToString());
}
break;
case ModType.Local:
pkgElem.SetAttributeValue("name", pkg.Name);