Skip to content

Commit

Permalink
Hotfix for 4 stash tabs being the default instead of 3
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArion committed Dec 24, 2023
1 parent e001c5b commit 7527f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MoreStashTabs/Harmony/AddMoreStashTabs_Patch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class AddMoreStashTabs_Patch
private static bool Prefix(StashData __instance, ref int defaultPageCount)
{
// We do an if check here in-case the dev changes the default page value to 5 or higher then we want this mod to stop doing what its doing
if (defaultPageCount is not 3)
if (defaultPageCount is not (3 or 4))
return true;

defaultPageCount = 5;
Expand Down

0 comments on commit 7527f35

Please sign in to comment.