v0.19.0.0 (unstable)

This commit is contained in:
Regalis11
2022-07-20 18:47:07 +03:00
parent 2e2663a175
commit 6b55adcdd9
170 changed files with 2769 additions and 1634 deletions
@@ -23,11 +23,10 @@ namespace Barotrauma.Items.Components
public void ExtractJobPrefab(IReadOnlyDictionary<Identifier, string> tags)
{
if (!tags.TryGetValue("jobid".ToIdentifier(), out string jobId)) { return; }
if (!tags.TryGetValue("jobid".ToIdentifier(), out string jobId)) { return; }
if (!jobId.IsNullOrEmpty())
{
JobPrefab = JobPrefab.Get(jobId);
JobPrefab = JobPrefab.Get(jobId.ToIdentifier());
}
}