FEAT: Lua Engine Handler for MWScript startscript functionality

This commit is contained in:
Dave Corley 2024-06-24 07:09:23 +00:00 committed by psi29a
parent 5cf809f39b
commit 1a79e79f57
13 changed files with 123 additions and 55 deletions

View file

@ -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)
{