added yl_speak_up.get_time_in_seconds
This commit is contained in:
parent
0629d6ba2c
commit
aa38ea2dbb
@ -518,3 +518,9 @@ yl_speak_up.get_list_of_debugged_variables = function(pname)
|
||||
end
|
||||
return res
|
||||
end
|
||||
|
||||
|
||||
-- helper function; time is sometimes needed
|
||||
yl_speak_up.get_time_in_seconds = function()
|
||||
return math.floor(minetest.get_us_time()/1000000)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user