Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
IngoHHacks committed Aug 1, 2023
1 parent 4cd7da4 commit 5553769
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## GV 1.59:

### Release 1.4.4
- Fixed invalid flesh not being reset correctly.

### Release 1.4.3
- Fixed custom content remapping.
- Fixed launch count not incrementing on first launch.
Expand Down
2 changes: 1 addition & 1 deletion Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class Plugin : BaseUnityPlugin
{
public const string PluginGuid = "IngoH.WrestlingEmpire.WECCL";
public const string PluginName = "Wrestling Empire Custom Content Loader";
public const string PluginVer = "1.4.3";
public const string PluginVer = "1.4.4";
public const float PluginCharacterVersion = 1.56f;
public const float PluginVersion = 1.59f;

Expand Down
2 changes: 1 addition & 1 deletion Utils/SaveRemapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ internal static void PatchCustomContent(ref SaveData saveData)
if (costume.flesh[i] > VanillaCounts.FleshCounts[i])
{
int oldIndex = costume.flesh[i] - VanillaCounts.FleshCounts[i] - 1;
if (oldIndex >= savedMap.FleshNameMap.Count)
if (oldIndex >= savedMap.FleshNameMap[i].Count)
{
Plugin.Log.LogWarning(
$"Custom flesh index {oldIndex} is out of bounds for character {character.name} ({character.id}). Resetting.");
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"namespace": "IngoH",
"name": "WECCL",
"description": "Loads custom content for Wrestling Empire",
"version_number": "1.4.3",
"version_number": "1.4.4",
"dependencies": [
"BepInEx-BepInExPack-5.4.2100"
],
Expand Down

0 comments on commit 5553769

Please sign in to comment.