forked from akanyan/mu3-mods
* DisableEncryption * LoadBoost * UnlockFrameRate * UnlockMasterDifficulty WIP, not fully reviewed/tested yet.
21 lines
470 B
C#
21 lines
470 B
C#
namespace MU3.Sys;
|
|
|
|
class patch_Time: Time {
|
|
private static bool _init;
|
|
|
|
private static float _deltaTime;
|
|
|
|
private static float _adjustAccumlation;
|
|
|
|
private static float _realtimeSinceStartup;
|
|
|
|
public static new void update() {
|
|
if(!_init) {
|
|
_adjustAccumlation = 0f;
|
|
_init = true;
|
|
}
|
|
_deltaTime = UnityEngine.Time.deltaTime;
|
|
_realtimeSinceStartup = UnityEngine.Time.realtimeSinceStartup;
|
|
}
|
|
}
|