Skip to content

Commit 6ed5e0a

Browse files
committed
fuck lua
1 parent dd9522f commit 6ed5e0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Managers/LuaMan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ namespace RTE {
11061106
g_ThreadMan.GetPriorityThreadPool().submit([luaState]() {
11071107
ZoneScopedN("Lua Garbage Collection");
11081108
std::lock_guard<std::recursive_mutex> lock(luaState->GetMutex());
1109-
lua_gc(luaState->GetLuaState(), LUA_GCSTEP, 30);
1109+
lua_gc(luaState->GetLuaState(), LUA_GCCOLLECT, 0); // we'd use GCSTEP but fuck lua it's trash
11101110
lua_gc(luaState->GetLuaState(), LUA_GCSTOP, 0);
11111111
})
11121112
);

0 commit comments

Comments
 (0)