mirror of
https://github.com/Ale32bit/Capy64.git
synced 2025-01-18 10:36:44 +00:00
Allow floating point in timer.start
This commit is contained in:
parent
38c62c8f45
commit
b212f41fea
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ class Timer : IPlugin
|
|||
{
|
||||
var L = Lua.FromIntPtr(state);
|
||||
|
||||
var delay = L.CheckInteger(1);
|
||||
var delay = L.CheckNumber(1);
|
||||
L.ArgumentCheck(delay > 0, 1, "delay must be greater than 0");
|
||||
|
||||
var timerId = _timerId++;
|
||||
|
|
Loading…
Reference in a new issue