diff --git a/Runtime/World/CScriptGunTurret.cpp b/Runtime/World/CScriptGunTurret.cpp index 35146123e..1ebc061fa 100644 --- a/Runtime/World/CScriptGunTurret.cpp +++ b/Runtime/World/CScriptGunTurret.cpp @@ -207,7 +207,7 @@ void CScriptGunTurret::AcceptScriptMsg(EScriptObjectMessage msg, TUniqueId uid, if (x478_targettingLight->SystemHasLight()) { x498_lightId = mgr.AllocateUniqueId(); mgr.AddObject(new CGameLight(x498_lightId, GetAreaIdAlways(), GetActive(), - std::string("ParticleLight_") + GetName().data(), GetTransform(), GetUniqueId(), + std::string("ParticleLight_").append(GetName()), GetTransform(), GetUniqueId(), x478_targettingLight->GetLight(), 0, 1, 0.f)); } SetupCollisionManager(mgr);