Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Server/Source/core_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2151,7 +2151,10 @@ class Core final : public ICore, public PlayerConnectEventHandler, public Consol

for (IPlayer* player : players.entries())
{
static_cast<Player*>(player)->time_ = time;
Player* impl = static_cast<Player*>(player);
// Override the hour only, keeping minutes, like SA:MP.
// https://github.com/openmultiplayer/open.mp/issues/631
impl->time_ = time + (impl->time_ % Hours(1));
}

updateNetworks();
Expand Down