mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
Clean up getTime helpers
This increases size of the getTime return values to 64 bits. It also removes the TimeGetter classes since the getTime functions are now very precise.
This commit is contained in:
@@ -592,7 +592,7 @@ void RemoteClient::notifyEvent(ClientStateEvent event)
|
||||
|
||||
u32 RemoteClient::uptime()
|
||||
{
|
||||
return getTime(PRECISION_SECONDS) - m_connection_time;
|
||||
return porting::getTime(PRECISION_SECONDS) - m_connection_time;
|
||||
}
|
||||
|
||||
ClientInterface::ClientInterface(con::Connection* con)
|
||||
|
Reference in New Issue
Block a user