From 2f23a1e5f007cdfc8ac0712a75533ff26273662b Mon Sep 17 00:00:00 2001 From: Dregu Date: Thu, 4 Mar 2021 07:21:32 +0200 Subject: [PATCH] increase the loop lines a bit --- src/injected/script.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/injected/script.cpp b/src/injected/script.cpp index b67839f2c..ffc83a604 100644 --- a/src/injected/script.cpp +++ b/src/injected/script.cpp @@ -716,7 +716,7 @@ bool Script::run(ImDrawList *dl) try { lua_sethook(lua.lua_state(), NULL, 0, 0); - lua_sethook(lua.lua_state(), &infinite_loop, LUA_MASKCOUNT, 100000); + lua_sethook(lua.lua_state(), &infinite_loop, LUA_MASKCOUNT, 100000000); drawlist = dl; sol::optional meta_name = lua["meta"]["name"]; sol::optional meta_version = lua["meta"]["version"];