Small Logic Adjustments

This commit is contained in:
Lachlan Leone
2026-03-05 17:09:17 +11:00
parent d196cbcf9f
commit 81b980ca88
4 changed files with 20 additions and 10 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ namespace MMOKitchen.Patches
float progressSpeed = (float)getProgressSpeed.Invoke(__instance, new object[] { });
if ((((float)counter / (float)x.Count) * 100) >= Mod.manager.GetPreference<PreferenceInt>("requiredConsentPercentage").Value)
if ((((float)counter / (float)x.Count) * 100) >= Mod.manager.GetPreference<PreferenceInt>(Mod.PREFERENCE_REQUIRED_CONSENT_PERCENTAGE).Value)
progressSpeed = 1f;
if (progressSpeed <= 0f)