Skip to content

Commit

Permalink
ctrl+c ctrl+v moment
Browse files Browse the repository at this point in the history
  • Loading branch information
g0aty committed Feb 27, 2024
1 parent a490c9b commit 4362067
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -30,7 +31,7 @@ jobs:
tar -caf Release.zip SickoMenu.dll version.dll LICENSE
- name: Upload Release Artifact
uses: actions/checkout@v3
uses: actions/[email protected]
with:
name: Release
path: Release.zip
Expand All @@ -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
Expand All @@ -57,7 +58,7 @@ jobs:
tar -caf Debug.zip SickoMenu.dll version.dll LICENSE
- name: Upload Debug Artifact
uses: actions/checkout@v3
uses: actions/[email protected]
with:
name: Debug
path: Debug.zip
Expand Down Expand Up @@ -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

Expand Down
9 changes: 5 additions & 4 deletions gui/tabs/game_tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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())
Expand All @@ -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())
Expand All @@ -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;
Expand Down

0 comments on commit 4362067

Please sign in to comment.