Skip to content

Commit

Permalink
[KKS] Fix double reloads in maker
Browse files Browse the repository at this point in the history
  • Loading branch information
ManlyMarco committed Oct 26, 2021
1 parent eb6faea commit 9a32872
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Shared.KKalike/Chara/CharacterApi.Hooks.KK.cs
Expand Up @@ -203,7 +203,8 @@ public static void ReloadAsyncPostHook(bool noChangeClothes, bool noChangeHead,
public static void ReloadNoAsyncPostHook(bool noChangeClothes, bool noChangeHead, bool noChangeHair, bool noChangeBody, ChaControl __instance)
{
if (noChangeClothes || noChangeHead || noChangeHair || noChangeBody) return;
if (IsCurrentlyReloading(__instance)) return;
// Avoid double reloads in maker
if (MakerAPI.InsideMaker) return;

ReloadChara(__instance);
}
Expand Down

0 comments on commit 9a32872

Please sign in to comment.