Make destructible test more reliable (#9425)

This commit is contained in:
wrexbe
2022-07-05 08:02:24 -07:00
committed by GitHub
parent 4f3e4fc9ab
commit 8c4e17eef3
4 changed files with 6 additions and 8 deletions

View File

@@ -36,6 +36,7 @@ namespace Content.IntegrationTests.Tests.Destructible
sDestructibleEntity = sEntityManager.SpawnEntity(DestructibleDestructionEntityId, coordinates);
sTestThresholdListenerSystem = sEntitySystemManager.GetEntitySystem<TestDestructibleListenerSystem>();
sTestThresholdListenerSystem.ThresholdsReached.Clear();
});
await server.WaitAssertion(() =>