mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-10 20:46:47 +03:00
Register GameScriptRotation in GameFlowScript and not GameLogicScript.
This commit is contained in:
parent
6f382a08e9
commit
8de08be1de
2 changed files with 1 additions and 1 deletions
|
@ -38,6 +38,7 @@ GameFlow::GameFlow(sol::state* lua) : LuaHandler{ lua }
|
||||||
GameScriptSettings::Register(m_lua);
|
GameScriptSettings::Register(m_lua);
|
||||||
GameScriptAudioTrack::Register(m_lua);
|
GameScriptAudioTrack::Register(m_lua);
|
||||||
GameScriptColor::Register(m_lua);
|
GameScriptColor::Register(m_lua);
|
||||||
|
GameScriptRotation::Register(m_lua);
|
||||||
|
|
||||||
/***
|
/***
|
||||||
Add a level to the gameflow.
|
Add a level to the gameflow.
|
||||||
|
|
|
@ -306,7 +306,6 @@ Get a SinkInfo by its name.
|
||||||
);
|
);
|
||||||
|
|
||||||
GameScriptPosition::Register(m_lua);
|
GameScriptPosition::Register(m_lua);
|
||||||
GameScriptRotation::Register(m_lua);
|
|
||||||
|
|
||||||
m_lua->new_enum<GAME_OBJECT_ID>("Object", {
|
m_lua->new_enum<GAME_OBJECT_ID>("Object", {
|
||||||
{"LARA", ID_LARA}
|
{"LARA", ID_LARA}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue