Restored floating point time granularity.

This commit is contained in:
Adam Harrison committed 2022-01-08 12:59:15 -05:00
1 parent 93076bdc41
commit 31d448971a
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -639,7 +639,7 @@ static int f_set_clipboard(lua_State *L) {
static int f_get_time(lua_State *L) {
double n = SDL_GetPerformanceCounter() / (double) SDL_GetPerformanceFrequency();
lua_pushinteger(L, n);
lua_pushnumber(L, n);
return 1;
}