예제 #1
0
        public static void patch()
        {
            HarmonyHelper.patchAll(true);
            LanguageHelper.init();

            DayNightSpeedControl.init();
        }
예제 #2
0
        static void Prefix(WorldForces.Current current)
        {
            if (double.IsPositiveInfinity(current.endTime))
            {
                return;
            }

            double lifeTime = (current.endTime - current.startTime) * DayNightSpeedControl.getSpeedClamped01();

            current.endTime = current.startTime + lifeTime;
        }