Skip to content

Commit

Permalink
Give it time to print
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelIT7 committed Apr 5, 2024
1 parent 714b879 commit ca1c4ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/lua_ILuaInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,8 @@ void RunHook(GarrysMod::Lua::ILuaInterface* LUA, const char* name, ILuaValue* ar
}
Msg("2. Top %i\n", LUA->Top());

ThreadSleep(3000);

LUA->CallFunctionProtected(pushed, 0, true);

/*if (args->type != GarrysMod::Lua::Type::Table && pushed != args->number) // We use pushed as a safeguard if something somehow breaks stuff.
Expand Down

0 comments on commit ca1c4ec

Please sign in to comment.