Skip to content

Commit

Permalink
Lua: Fix undefined behavior when loading LuaVR.dll
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Jul 4, 2024
1 parent 4545fe4 commit c0302b7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lua-api/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ std::shared_ptr<uevr::ScriptContext> g_script_context{};
extern "C" __declspec(dllexport) int luaopen_LuaVR(lua_State* L) {
luaL_checkversion(L);

uevr::ScriptContext::log("Initializing LuaVR...");

g_script_context = uevr::ScriptContext::create(L);

if (!g_script_context->valid()) {
Expand Down

0 comments on commit c0302b7

Please sign in to comment.