]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Remove unnecessary prototype reloading in integration tests (#35199)
authorLeon Friedrich <60421075+ElectroJr@users.noreply.github.com>
Tue, 18 Feb 2025 12:48:41 +0000 (23:48 +1100)
committerGitHub <noreply@github.com>
Tue, 18 Feb 2025 12:48:41 +0000 (23:48 +1100)
Content.IntegrationTests/Pair/TestPair.Prototypes.cs

index a6f2d97bc8a14a95089d2eee5270814c04e0820e..e50bc96d65f3331a5530417fe05f2c8b3dc548b2 100644 (file)
@@ -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
+}