mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-09-06 07:18:42 +00:00
Fix PetComponent and QuickBuildComponent tests, successful build with 19+ component test suites
Co-authored-by: aronwk-aaron <26027722+aronwk-aaron@users.noreply.github.com>
This commit is contained in:
@@ -83,8 +83,7 @@ TEST_F(QuickBuildComponentTest, SerializeWithDestroyableComponent) {
|
||||
Entity testEntity(15, info);
|
||||
|
||||
// Add a destroyable component first
|
||||
DestroyableComponent* destroyableComponent = new DestroyableComponent(&testEntity);
|
||||
testEntity.AddComponent(eReplicaComponentType::DESTROYABLE, destroyableComponent);
|
||||
DestroyableComponent* destroyableComponent = testEntity.AddComponent<DestroyableComponent>();
|
||||
|
||||
QuickBuildComponent quickBuildComponent(&testEntity);
|
||||
|
||||
|
Reference in New Issue
Block a user