diff --git a/dGame/dComponents/RenderComponent.cpp b/dGame/dComponents/RenderComponent.cpp index 6616877ff..449fbc4d6 100644 --- a/dGame/dComponents/RenderComponent.cpp +++ b/dGame/dComponents/RenderComponent.cpp @@ -66,7 +66,7 @@ void RenderComponent::Serialize(RakNet::BitStream* outBitStream, bool bIsInitial } Effect& RenderComponent::AddEffect(const int32_t effectId, const std::string& name, const std::u16string& type, const float priority) { - return m_Effects.emplace_back(Effect{ effectId, name, type, priority }); + return m_Effects.emplace_back(effectId, name, type, priority); } void RenderComponent::RemoveEffect(const std::string& name) {