From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Tue, 18 Feb 2025 12:48:41 +0000 (+1100) Subject: Remove unnecessary prototype reloading in integration tests (#35199) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=e8199c542132c7b3d78c3e8e57d78c6443ab7384;p=space-station-14.git Remove unnecessary prototype reloading in integration tests (#35199) --- diff --git a/Content.IntegrationTests/Pair/TestPair.Prototypes.cs b/Content.IntegrationTests/Pair/TestPair.Prototypes.cs index a6f2d97bc8..e50bc96d65 100644 --- a/Content.IntegrationTests/Pair/TestPair.Prototypes.cs +++ b/Content.IntegrationTests/Pair/TestPair.Prototypes.cs @@ -26,11 +26,7 @@ public sealed partial class TestPair instance.ProtoMan.LoadString(file, changed: changed); } - await instance.WaitPost(() => - { - instance.ProtoMan.ResolveResults(); - instance.ProtoMan.ReloadPrototypes(changed); - }); + await instance.WaitPost(() => instance.ProtoMan.ReloadPrototypes(changed)); foreach (var (kind, ids) in changed) { @@ -65,4 +61,4 @@ public sealed partial class TestPair { return _loadedPrototypes.TryGetValue(kind, out var ids) && ids.Contains(id); } -} \ No newline at end of file +}