Skip to content

Commit

Permalink
Remove steam/epic overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
g0aty committed Apr 7, 2024
1 parent b1ef393 commit b201eac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gui/tabs/players_tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -912,9 +912,9 @@ namespace PlayersTab {
ImGui::InputInt("Level", &level);
if (ImGui::Button("Force Level")) {
if (IsInGame())
State.rpcQueue.push(new RpcSetLevel(selectedPlayer.get_PlayerControl(), level));
State.rpcQueue.push(new RpcSetLevel(selectedPlayer.get_PlayerControl(), level - 1));
else if (IsInLobby())
State.lobbyRpcQueue.push(new RpcSetLevel(selectedPlayer.get_PlayerControl(), level));
State.lobbyRpcQueue.push(new RpcSetLevel(selectedPlayer.get_PlayerControl(), level - 1));
}
}

Expand Down
4 changes: 2 additions & 2 deletions hooks/_hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void DetourInitilization() {
return;
} else {
// Attempting to hook the Steam overlay
do {
/*do {
if (oPresent)
break;
HMODULE hModule = GetModuleHandleA("GameOverlayRenderer.dll");
Expand Down Expand Up @@ -83,7 +83,7 @@ void DetourInitilization() {
return;
}
oPresent = d3d11.presentFunction;
} while (0);
} while (0);*/
if (!oPresent)
oPresent = d3d11.presentFunction;
}
Expand Down

0 comments on commit b201eac

Please sign in to comment.