mirror of
https://github.com/EricPlayZ/EGameTools.git
synced 2025-07-18 17:37:53 +08:00
- Fixed Freeze Time slowing down the immunity timer
This commit is contained in:
@ -10,11 +10,11 @@ R"(- You can now load custom mod files from "EGameTools\UserModFiles"! Please re
|
||||
|
||||
- Added "Reload Jump Params", using the directory mentioned earlier (Player)
|
||||
- Added "One-handed Mode" (Player)
|
||||
- Added "Nightrunner Mode" (Player)
|
||||
- Added "Nightrunner Mode", default button is "F9" (Player)
|
||||
- Added "Disable Game Pause While AFK" (Misc)
|
||||
- Added "Freeze Time" (World)
|
||||
- Added "Game Speed" slider (World)
|
||||
- Added "Slow Motion" (World)
|
||||
- Added "Slow Motion", default button is "4" (World)
|
||||
|
||||
- Fixed having a weird offset of the entire map view when FreeCam is enabled
|
||||
- Fixed player dying from switching FreeCam off after flying to high altitudes/through walls with <EFBFBD>Teleport Player to Camera<EFBFBD> option)" }
|
||||
|
@ -75,7 +75,7 @@ namespace Menu {
|
||||
|
||||
if (!menuToggle.GetValue()) {
|
||||
time = dayNightCycle->time1 * 24.0f;
|
||||
if (freezeTime.GetValue() && !Utils::Values::are_samef(time, timeBeforeFreeze))
|
||||
if (freezeTime.GetValue() && !Utils::Values::are_samef(time, timeBeforeFreeze, 0.009999f))
|
||||
dayNightCycle->SetDaytime(timeBeforeFreeze);
|
||||
|
||||
if (!slowMotion.GetValue() && !slowMotion.HasChanged())
|
||||
@ -99,7 +99,7 @@ namespace Menu {
|
||||
dayNightCycle->SetDaytime(time);
|
||||
}
|
||||
time = dayNightCycle->time1 * 24.0f;
|
||||
if (freezeTime.GetValue() && !Utils::Values::are_samef(time, timeBeforeFreeze))
|
||||
if (freezeTime.GetValue() && !Utils::Values::are_samef(time, timeBeforeFreeze, 0.009999f))
|
||||
dayNightCycle->SetDaytime(timeBeforeFreeze);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user