Skip to content

Commit

Permalink
Why isn't this a struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Sauceke committed Nov 10, 2023
1 parent 534a23b commit 5647aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KK_SexFaces/SexFacesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ protected override void OnCardBeingSaved(GameMode currentGameMode)
{
return;
}
var data = GetExtendedData();
var data = GetExtendedData() ?? new PluginData { version = 1 };
foreach (var entry in sexFaces)
{
data.data[GetSexFaceId(entry)] = entry.Face.Serialize();
Expand Down

0 comments on commit 5647aae

Please sign in to comment.