mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-14 09:05: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:
@@ -828,7 +828,7 @@ bool GUITable::OnEvent(const SEvent &event)
|
||||
}
|
||||
else if (event.KeyInput.PressedDown && event.KeyInput.Char) {
|
||||
// change selection based on text as it is typed
|
||||
s32 now = getTimeMs();
|
||||
u64 now = porting::getTimeMs();
|
||||
if (now - m_keynav_time >= 500)
|
||||
m_keynav_buffer = L"";
|
||||
m_keynav_time = now;
|
||||
|
Reference in New Issue
Block a user