Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Commit

Permalink
Added missing lua_close detour
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWilko committed Apr 1, 2015
1 parent eedb7d9 commit 0587b90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/InitiateState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ void InitiateStates(){
FuncDetour* gameUpdateDetour = new FuncDetour((void**)&do_game_update, do_game_update_new);
FuncDetour* newStateDetour = new FuncDetour((void**)&luaL_newstate, luaL_newstate_new);
FuncDetour* luaCallDetour = new FuncDetour((void**)&lua_call, lua_newcall);
FuncDetour* luaCloseDetour = new FuncDetour((void**)&lua_close, luaF_close);

new EventQueueM();
}
Expand Down

0 comments on commit 0587b90

Please sign in to comment.