Skip to content

Commit 5fbbe30

Browse files
authored
Merge pull request #314 from HumabHatterZed/main
Fixed RuleBookManager not syncing correctly
2 parents 2e6c2fe + 5c6655d commit 5fbbe30

5 files changed

Lines changed: 9 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<details>
22
<summary>View Changelog</summary>
33

4+
# 2.21.1
5+
- Fixed RuleBookManager not syncing when playing with no custom rulebook sections
6+
47
# 2.21.0
58
- Fixed ability stacks not rendering
69
- Fixed rendering error when displaying a card with tribes outside of Act 1

InscryptionAPI/InscryptionAPI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<DebugType>full</DebugType>
1111
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1212
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
13-
<Version>2.21.0</Version>
13+
<Version>2.21.1</Version>
1414
</PropertyGroup>
1515

1616
<PropertyGroup>

InscryptionAPI/InscryptionAPIPlugin.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
using InscryptionAPI.Pelts;
1414
using InscryptionAPI.PixelCard;
1515
using InscryptionAPI.Regions;
16+
using InscryptionAPI.RuleBook;
1617
using InscryptionAPI.Slots;
1718
using InscryptionAPI.Totems;
1819
using System.Runtime.CompilerServices;
@@ -29,7 +30,7 @@ public class InscryptionAPIPlugin : BaseUnityPlugin
2930
{
3031
public const string ModGUID = "cyantist.inscryption.api";
3132
public const string ModName = "InscryptionAPI";
32-
public const string ModVer = "2.21.0";
33+
public const string ModVer = "2.21.1";
3334

3435
public static string Directory = "";
3536

@@ -83,6 +84,7 @@ internal static void ResyncAll()
8384
SlotModificationManager.SyncSlotModificationList();
8485
EncounterManager.SyncEncounterList();
8586
RegionManager.SyncRegionList();
87+
RuleBookManager.SyncRuleBookList();
8688
}
8789

8890
internal static void CheckForOutdatedPlugins()

InscryptionCommunityPatch/InscryptionCommunityPatch.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1010
<DebugType>full</DebugType>
1111
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
12-
<Version>2.20.0</Version>
12+
<Version>2.21.0</Version>
1313
</PropertyGroup>
1414

1515
<PropertyGroup>

docs/wiki/rulebook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RuleBookManager.New(
2828
"Mod Tribes", // the subsection name that appears at the end of the header
2929
GetInsertPosition, // a function that determines where in the Rulebook to insert our custom section
3030
CreatePages, // the function to create the pages that will be in our custom section
31-
headerPrefix, // optional argument, if left null one will be created for you
31+
headerPrefix: null, // optional argument, if left null one will be created for you
3232
getStartingNumberFunc: GetStartingNumber, // optional argument, if left null the starting number will be 1
3333
fillPageAction: FillPage // also optional, but if you want to display custom names, descriptions, etc you will need to set this
3434
);

0 commit comments

Comments
 (0)