SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
88 stars 18 forks source link

Singleplayer time does not stop when game is paused #3602

Open kulkaGM opened 1 year ago

kulkaGM commented 1 year ago

When we pause game in singleplayer everything stops but not time. Singleplayer time (day & night cycle) should be also stopped when we pause game

GazziFX commented 1 year ago

Theres much more systems which is not completely paused. Does it really matter for you?

SDGNelson commented 1 year ago

Keeping this as the oldest currently open note of the problem.

Unturned has kind of a mess of using real time rather than in-game time. Back in 2.x the time was synced between all servers which carried over to 3.x. Adding pausing on the pause menu and /time and /cycle commands didn't update all the existing code for that.

I should definitely go back and fix this up at some point, but no ETA.

SDGNelson commented 1 year ago

I've also posted a support article for anyone else who looks this up. Making a note here so that I remember to remove it when(/if) this gets fully taken care of: https://support.smartlydressedgames.com/hc/en-us/articles/12297865191316