13
0

Fix Lua 1Hz timer signal (#9529)

This commit is contained in:
Robin Gareus 2023-11-10 14:27:19 +01:00
parent db9e11d973
commit 6b3eb55ff6
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1432,7 +1432,7 @@ void LuaInstance::set_session (Session* s)
for (LuaCallbackMap::iterator i = _callbacks.begin(); i != _callbacks.end(); ++i) {
i->second->set_session (s);
}
second_connection = Timers::rapid_connect (sigc::mem_fun(*this, & LuaInstance::every_second));
second_connection = Timers::second_connect (sigc::mem_fun(*this, & LuaInstance::every_second));
point_one_second_connection = Timers::rapid_connect (sigc::mem_fun(*this, & LuaInstance::every_point_one_seconds));
SetSession (); /* EMIT SIGNAL */
}