diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-04-26 03:48:26 +1000 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2025-04-26 03:48:26 +1000 |
commit | 87751c5a84925cbd9d630c65738e0e77b01a66f0 (patch) | |
tree | 9ecfd6479a14fef5916b5dafa056f4d360757e39 /source/game/StarMonster.cpp | |
parent | 6369ba9ec72f097d8cc9ab06bed0c6816da516c8 (diff) |
songbook Lua bindings, give NPCs songbooks
Diffstat (limited to 'source/game/StarMonster.cpp')
-rw-r--r-- | source/game/StarMonster.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarMonster.cpp b/source/game/StarMonster.cpp index d9ce986..98f4642 100644 --- a/source/game/StarMonster.cpp +++ b/source/game/StarMonster.cpp @@ -144,7 +144,7 @@ void Monster::init(World* world, EntityId entityId, EntityMode mode) { m_scriptComponent.addCallbacks("entity", LuaBindings::makeEntityCallbacks(this)); m_scriptComponent.addCallbacks("animator", LuaBindings::makeNetworkedAnimatorCallbacks(&m_networkedAnimator)); m_scriptComponent.addCallbacks("status", LuaBindings::makeStatusControllerCallbacks(m_statusController.get())); - m_scriptComponent.addCallbacks("behavior", LuaBindings::makeBehaviorLuaCallbacks(&m_behaviors)); + m_scriptComponent.addCallbacks("behavior", LuaBindings::makeBehaviorCallbacks(&m_behaviors)); m_scriptComponent.addActorMovementCallbacks(m_movementController.get()); m_scriptComponent.init(world); } |