From e8199c542132c7b3d78c3e8e57d78c6443ab7384 Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Tue, 18 Feb 2025 23:48:41 +1100 Subject: [PATCH] Remove unnecessary prototype reloading in integration tests (#35199) --- Content.IntegrationTests/Pair/TestPair.Prototypes.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 +} -- 2.51.2