From 8c619ed465e4cbb00f57493fc48dd911a470a046 Mon Sep 17 00:00:00 2001 From: g0aty Date: Sat, 22 Jun 2024 18:00:05 +0530 Subject: [PATCH] Fix errors in host_tab.cpp --- gui/tabs/host_tab.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/gui/tabs/host_tab.cpp b/gui/tabs/host_tab.cpp index 777b479..89460e1 100644 --- a/gui/tabs/host_tab.cpp +++ b/gui/tabs/host_tab.cpp @@ -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) {