Skip to content

Commit

Permalink
fixed bug where the menu option was setting ghost mode to true and on…
Browse files Browse the repository at this point in the history
…ly true
  • Loading branch information
Jasonleh99 committed Nov 19, 2022
1 parent be4bc85 commit 960ccb4
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 1 deletion.
Binary file modified .vs/PlateupPrepGhost/v16/.suo
Binary file not shown.
2 changes: 1 addition & 1 deletion MenuPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public override void Setup(int player_id)
Add(GetEnableOption())
.OnChanged += delegate (object _, bool value)
{
GhostPatch.SetGhostModeForAllPlayers(true);
GhostPatch.SetGhostModeForAllPlayers(value);
GhostPatch.GhostModeSetByMenu = true;
};
AddButton(Localisation["MENU_BACK_SETTINGS"], (Action<int>)(i => RequestPreviousMenu()));
Expand Down
Binary file modified obj/Debug/PlateupPrepGhost.csprojAssemblyReference.cache
Binary file not shown.
Binary file modified obj/Debug/PlateupPrepGhost.dll
Binary file not shown.
Binary file modified obj/Debug/PlateupPrepGhost.pdb
Binary file not shown.

0 comments on commit 960ccb4

Please sign in to comment.