mirror of
https://github.com/wiremod/wire.git
synced 2025-03-04 03:03:04 -05:00
[E2] timer.lua: realtime() previously returned SysTime() but now returns RealTime(). A new function, systime(), returns SysTime().
This commit is contained in:
parent
712728449d
commit
1227e0c04f
@ -91,11 +91,17 @@ registerFunction("clk", "s", "n", function(self, args)
|
||||
then return 1 else return 0 end
|
||||
end)
|
||||
|
||||
/******************************************************************************/
|
||||
|
||||
registerFunction("curtime", "", "n", function(self, args)
|
||||
return CurTime()
|
||||
end)
|
||||
|
||||
registerFunction("realtime", "", "n", function(self, args)
|
||||
return RealTime()
|
||||
end)
|
||||
|
||||
registerFunction("systime", "", "n", function(self, args)
|
||||
return SysTime()
|
||||
end)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user