- fixed: DeactivateLight called Activate instead of Deactivate.

This commit is contained in:
Christoph Oelckers 2019-01-03 00:39:42 +01:00
parent c753d59a72
commit d057af7c3b

View file

@ -179,7 +179,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(ADynamicLight, ActivateLight, ActivateLight)
void DeactivateLight(AActor *self)
{
for (auto l : self->AttachedLights) l->Activate();
for (auto l : self->AttachedLights) l->Deactivate();
}
DEFINE_ACTION_FUNCTION_NATIVE(ADynamicLight, DeactivateLight, DeactivateLight)