SMSMod-CurrencyChanger2/Patches/PriceManager_CurrentCost_Patch.cs
2024-05-02 19:16:26 +02:00

13 lines
317 B
C#

using HarmonyLib;
namespace CurrencyChanger2.Patches
{
[HarmonyPatch(typeof(PriceManager), "CurrentCost")]
public static class PriceManager_CurrentCost_Patch
{
public static void Postfix(ref float __result)
{
__result *= Plugin.CurrencyValueFactor.Value;
}
}
}