mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
FEAT: Lua Engine Handler for MWScript startscript
functionality
This commit is contained in:
parent
5cf809f39b
commit
1a79e79f57
13 changed files with 123 additions and 55 deletions
|
@ -178,7 +178,7 @@ namespace LuaUtil
|
|||
|
||||
// Calls given handlers in direct order.
|
||||
template <typename... Args>
|
||||
void callEngineHandlers(EngineHandlerList& handlers, const Args&... args)
|
||||
void callEngineHandlers(EngineHandlerList& handlers, Args&&... args)
|
||||
{
|
||||
for (Handler& handler : handlers.mList)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue