diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0741b1..27ba41c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,18 +1,19 @@ +#credit goes to https://github.com/cpguy5089/AmongUsMenu_Ghost/blob/main/.github/workflows/build.yml name: Build Project on: workflow_dispatch: release: types: [published] -# push: -# branches: [ "main" ] + push: + branches: [ "main" ] jobs: Build_Release: runs-on: windows-2022 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v2.3.4 - name: Build Release shell: bash @@ -30,7 +31,7 @@ jobs: tar -caf Release.zip SickoMenu.dll version.dll LICENSE - name: Upload Release Artifact - uses: actions/checkout@v3 + uses: actions/upload-artifact@v2.2.3 with: name: Release path: Release.zip @@ -39,7 +40,7 @@ jobs: runs-on: windows-2022 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v2.3.4 - name: Build Debug shell: bash @@ -57,7 +58,7 @@ jobs: tar -caf Debug.zip SickoMenu.dll version.dll LICENSE - name: Upload Debug Artifact - uses: actions/checkout@v3 + uses: actions/upload-artifact@v2.2.3 with: name: Debug path: Debug.zip @@ -85,12 +86,12 @@ jobs: # echo 'is pre-release: ${{ steps.semver_parser.outputs.prerelease != 0 }}' - name: Download Release Artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v2.0.9 with: name: Release - name: Download Debug Artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v2.0.9 with: name: Debug diff --git a/gui/tabs/game_tab.cpp b/gui/tabs/game_tab.cpp index ee96641..ba7914a 100644 --- a/gui/tabs/game_tab.cpp +++ b/gui/tabs/game_tab.cpp @@ -154,11 +154,12 @@ namespace GameTab { } } } - ImGui::SameLine(); + if (ToggleButton("Spam", &State.ChatSpam)) { State.Save(); } + ImGui::SameLine(); if (!State.SafeMode && ToggleButton("Spam by Everyone", &State.ChatSpamEveryone)) { State.Save(); @@ -243,7 +244,7 @@ namespace GameTab { } if (!State.SafeMode) { ImGui::SameLine(); - if (ImGui::Button("Suicide All Crewmates")) { + if (ImGui::Button("Suicide Crewmates")) { for (auto player : GetAllPlayerControl()) { if (!PlayerIsImpostor(GetPlayerData(player))) { if (IsInGame()) @@ -256,7 +257,7 @@ namespace GameTab { } } ImGui::SameLine(); - if (ImGui::Button("Suicide All Impostors")) { + if (ImGui::Button("Suicide Impostors")) { for (auto player : GetAllPlayerControl()) { if (PlayerIsImpostor(GetPlayerData(player))) { if (IsInGame()) @@ -283,7 +284,7 @@ namespace GameTab { else State.lobbyRpcQueue.push(new RpcForceScanner(p, false)); } } - if (!State.SafeMode && GameOptions().GetBool(BoolOptionNames__Enum::VisualTasks)) ImGui::SameLine(); + if (!State.SafeMode && GameOptions().GetBool(BoolOptionNames__Enum::VisualTasks) && State.InMeeting) ImGui::SameLine(); if ((IsHost() || !State.SafeMode) && State.InMeeting && ImGui::Button("End Meeting")) { State.rpcQueue.push(new RpcEndMeeting()); State.InMeeting = false;