diff options
| -rw-r--r-- | src/main.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/main.cpp b/src/main.cpp index 23da08c..a4183f7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -36,7 +36,7 @@ int main(int argc, char **argv) {    luaL_openlibs(L_default);    init_c_api(L_default); -  if (std::filesystem::exists(luaFile) && +  if (std::filesystem::exists(DEFAULT_PROC) &&        luaL_dofile(L_default, DEFAULT_PROC) != LUA_OK) {      std::cout << "Failed to load default proc" << std::endl;      luaL_error(L_default, "Error: %s", lua_tostring(L_default, -1)); |