Skip to content

Commit b201eac

Browse files
committed
Remove steam/epic overlay
1 parent b1ef393 commit b201eac

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

gui/tabs/players_tab.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -912,9 +912,9 @@ namespace PlayersTab {
912912
ImGui::InputInt("Level", &level);
913913
if (ImGui::Button("Force Level")) {
914914
if (IsInGame())
915-
State.rpcQueue.push(new RpcSetLevel(selectedPlayer.get_PlayerControl(), level));
915+
State.rpcQueue.push(new RpcSetLevel(selectedPlayer.get_PlayerControl(), level - 1));
916916
else if (IsInLobby())
917-
State.lobbyRpcQueue.push(new RpcSetLevel(selectedPlayer.get_PlayerControl(), level));
917+
State.lobbyRpcQueue.push(new RpcSetLevel(selectedPlayer.get_PlayerControl(), level - 1));
918918
}
919919
}
920920

hooks/_hooks.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void DetourInitilization() {
4141
return;
4242
} else {
4343
// Attempting to hook the Steam overlay
44-
do {
44+
/*do {
4545
if (oPresent)
4646
break;
4747
HMODULE hModule = GetModuleHandleA("GameOverlayRenderer.dll");
@@ -83,7 +83,7 @@ void DetourInitilization() {
8383
return;
8484
}
8585
oPresent = d3d11.presentFunction;
86-
} while (0);
86+
} while (0);*/
8787
if (!oPresent)
8888
oPresent = d3d11.presentFunction;
8989
}

0 commit comments

Comments
 (0)