diff options
Diffstat (limited to 'source/game/scripting')
-rw-r--r-- | source/game/scripting/StarLuaAnimationComponent.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/scripting/StarLuaAnimationComponent.hpp b/source/game/scripting/StarLuaAnimationComponent.hpp index 540f517..8866724 100644 --- a/source/game/scripting/StarLuaAnimationComponent.hpp +++ b/source/game/scripting/StarLuaAnimationComponent.hpp @@ -76,7 +76,7 @@ LuaAnimationComponent<Base>::LuaAnimationComponent() { animationCallbacks.registerCallback("addLightSource", [this](LuaTable const& lightSourceTable) { m_lightSources.append({ lightSourceTable.get<Vec2F>("position"), - lightSourceTable.get<Color>("color").toRgb(), + lightSourceTable.get<Color>("color").toRgbF(), lightSourceTable.get<Maybe<bool>>("pointLight").value(), lightSourceTable.get<Maybe<float>>("pointBeam").value(), lightSourceTable.get<Maybe<float>>("beamAngle").value(), |