diff --git a/csgo2/csgo2.vcxproj b/csgo2/csgo2.vcxproj index f2815f0..30dc3e2 100644 --- a/csgo2/csgo2.vcxproj +++ b/csgo2/csgo2.vcxproj @@ -172,7 +172,6 @@ - diff --git a/csgo2/csgo2.vcxproj.filters b/csgo2/csgo2.vcxproj.filters index 24437cf..4d885bb 100644 --- a/csgo2/csgo2.vcxproj.filters +++ b/csgo2/csgo2.vcxproj.filters @@ -363,9 +363,6 @@ 头文件\sdk\public - - 源文件\script_engine\lua_cjson - 源文件\script_engine\lua_cjson diff --git a/csgo2/head.h b/csgo2/head.h index 5e418d9..dfc8fcb 100644 --- a/csgo2/head.h +++ b/csgo2/head.h @@ -62,5 +62,4 @@ static void DebugPrintA(const char* format, ...) { #include "script_callbacks.h" #include "timer.h" #include "weapon.h" -#include "lua-cjson/lua_cjson.h" #include "Server.h" \ No newline at end of file diff --git a/csgo2/script_engine.cpp b/csgo2/script_engine.cpp index 9540561..ce8c66b 100644 --- a/csgo2/script_engine.cpp +++ b/csgo2/script_engine.cpp @@ -1,4 +1,6 @@ #include "script_engine.h" +extern "C" int luaopen_cjson(lua_State * L); + namespace ScriptEngine { std::string luaPath; std::map pluginEnvs;