Core/SystemTimers: Refactor to class, move to System.

This commit is contained in:
Admiral H. Curtiss
2024-01-04 23:07:50 +01:00
parent 9c91b5edca
commit 07c035e659
35 changed files with 258 additions and 185 deletions

View File

@ -2522,7 +2522,7 @@ void NetPlayClient::SendTimeBase()
if (netplay_client->m_timebase_frame % 60 == 0)
{
const sf::Uint64 timebase = SystemTimers::GetFakeTimeBase();
const sf::Uint64 timebase = Core::System::GetInstance().GetSystemTimers().GetFakeTimeBase();
sf::Packet packet;
packet << MessageID::TimeBase;