X-Git-Url: https://git.r.bdr.sh/rbdr/pico-engine/blobdiff_plain/10a0e290ac07524dc129cc2b227b0f9e95df0f8e..refs/heads/main:/LuaVirtualMachine.cpp diff --git a/LuaVirtualMachine.cpp b/LuaVirtualMachine.cpp index 0ad5096..24460a0 100644 --- a/LuaVirtualMachine.cpp +++ b/LuaVirtualMachine.cpp @@ -12,7 +12,7 @@ // --------------------------------------------------------------------------- // LIBRARY INCLUDE FILES #include "luainc.h" -#include "luavirtualmachine.h" +#include "LuaVirtualMachine.h" #include #include #include @@ -129,7 +129,7 @@ bool CLuaVirtualMachine::InitialiseVM (void) // Open Lua! if (Ok ()) DestroyVM (); - m_pState = lua_open (); + m_pState = luaL_newstate (); if (m_pState) {