Skip to content

Commit

Permalink
disabled god mode for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Dregu committed Dec 16, 2020
1 parent 247b340 commit dfb5aa8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:

- name: Install Rust
run: |
rustup default nightly
rustup update --no-self-update
- name: Build
Expand Down
6 changes: 3 additions & 3 deletions crates/injected/cxx/ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ bool process_keys(
else if (ctrl & 0x8000 && wParam == 0x47) // G
{
god = !god;
godmode(god);
//godmode(god);
return true;
}
else if (ctrl & 0x8000 && wParam == 0x4D) // M
Expand Down Expand Up @@ -690,11 +690,11 @@ HRESULT __stdcall hkPresent(IDXGISwapChain *pSwapChain, UINT SyncInterval, UINT
ImGui::Checkbox("##clickevents", &clickevents);
ImGui::SameLine();
ImGui::Text("Enable click to spawn/teleport");
if(ImGui::Checkbox("##Godmode", &god)) {
/*if(ImGui::Checkbox("##Godmode", &god)) {
godmode(god);
}
ImGui::SameLine();
ImGui::Text("Enable peaceful mode");
ImGui::Text("Enable peaceful mode");*/
ImGui::Text("Keys:");
if(clickevents) {
ImGui::Text("- (Enter) or (Mouse L) Use focused tool");
Expand Down

0 comments on commit dfb5aa8

Please sign in to comment.