From 86dfc0508ed9cb4b15d34b57d349078b7c8046e3 Mon Sep 17 00:00:00 2001 From: FynnTW Date: Sun, 22 Dec 2024 12:18:40 +0200 Subject: [PATCH] temporarily undo change to script checking timing --- M2TWEOP Code/M2TWEOP library/luaPlugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/M2TWEOP Code/M2TWEOP library/luaPlugin.cpp b/M2TWEOP Code/M2TWEOP library/luaPlugin.cpp index 3849e578..84cc8c5f 100644 --- a/M2TWEOP Code/M2TWEOP library/luaPlugin.cpp +++ b/M2TWEOP Code/M2TWEOP library/luaPlugin.cpp @@ -55,7 +55,6 @@ int initLuaPlugin(bool isReload) exit(0); } plugData::data.luaAll.addLegacy(); - plugData::data.luaAll.loadLuaScript(luaFile); plugData::data.luaAll.onPluginLoadF(); if (isReload) { @@ -200,8 +199,9 @@ sol::state* luaPlugin::init(std::string& luaFilePath, std::string& modPath) console::handleMessageBoxResult(result); return nullptr; } - + plugData::data.luaAll.loadLuaScript(luaFilePath); + ///M2TWEOP //@section m2tweopTable