Esempio n. 1
0
 static void Postfix(HeatSource __instance)
 {
     if (__instance.isIndoorAndCoolDown())
     {
         __instance.m_TempIncrease = prevTemp - (prevTemp - __instance.m_TempIncrease) * Main.config.slowerCoolDown;
     }
 }
Esempio n. 2
0
 static void Prefix(HeatSource __instance)
 {
     if (__instance.isIndoorAndCoolDown())
     {
         prevTemp = __instance.m_TempIncrease;
     }
 }