File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments