Remove unnecessary prototype reloading in integration tests (#35199)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user