Skip to content

Commit

Permalink
increase the loop lines a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
Dregu committed Mar 4, 2021
1 parent d37b99d commit 2f23a1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/injected/script.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::string> meta_name = lua["meta"]["name"];
sol::optional<std::string> meta_version = lua["meta"]["version"];
Expand Down

0 comments on commit 2f23a1e

Please sign in to comment.