Build 0.19.11.0
This commit is contained in:
+4
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user