From f6894fc519c3d5849bd55e6a98872f4294540e0a Mon Sep 17 00:00:00 2001 From: Louis Hobbs Date: Fri, 3 Feb 2023 01:31:42 +0000 Subject: [PATCH] Stop `Destructable` from producing errors --- Source/Nakatomi/Destructable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Nakatomi/Destructable.cpp b/Source/Nakatomi/Destructable.cpp index f7bfc14..a266103 100644 --- a/Source/Nakatomi/Destructable.cpp +++ b/Source/Nakatomi/Destructable.cpp @@ -30,6 +30,6 @@ void ADestructable::Destruct() { // TODO: Add some more logic here - UGameplayStatics::SpawnEmitterAtLocation(this, ParticleEffect, this->ActorToWorld().GetLocation(), FRotator::ZeroRotator, true); + //UGameplayStatics::SpawnEmitterAtLocation(this, ParticleEffect, this->ActorToWorld().GetLocation(), FRotator::ZeroRotator, true); Destroy(); }