Skip to content

Commit

Permalink
How to make code faster: Remove the ThreadSleep you added
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelIT7 committed Nov 27, 2023
1 parent 9a1eed2 commit dbd29e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/lua_ILuaInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ void RunFile(ILuaThread* LUA, const char* file)

Msg("New path: %s\n", (old_path + file).c_str());

ThreadSleep(100);
//ThreadSleep(100);

fh = gpFileSystem->Open((old_path + file).c_str(), "r", "GAME");
if(fh)
Expand Down

0 comments on commit dbd29e3

Please sign in to comment.