Skip to content

Commit

Permalink
Fix errors in host_tab.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
g0aty committed Jun 22, 2024
1 parent 180d7e7 commit 8c619ed
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions gui/tabs/host_tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,20 +222,6 @@ namespace HostTab {
if (IsInLobby()) State.lobbyRpcQueue.push(new RpcSetRole(*Game::pLocalPlayer, RoleTypes__Enum::Crewmate));
}
}

if (isReviving && framesPassed == 50)
{
State.rpcQueue.push(new RpcVent(*Game::pLocalPlayer, 1, false));
framesPassed--;
}
else if (isReviving && framesPassed <= 0 && (*Game::pLocalPlayer)->fields.inVent) {
State.rpcQueue.push(new RpcVent(*Game::pLocalPlayer, 1, true)); //for showing you as alive to ALL players
framesPassed = -1;
isReviving = false;
}
else if (isReviving) framesPassed--;

ImGui::EndChild();
}

if (openSettings) {
Expand Down

0 comments on commit 8c619ed

Please sign in to comment.