From 2814f44163ebe171a871dd2e6702bb2a4922d49a Mon Sep 17 00:00:00 2001 From: TorchedSammy <38820196+TorchedSammy@users.noreply.github.com> Date: Tue, 12 Apr 2022 19:41:50 -0400 Subject: [PATCH] fix: typo in timer create function --- api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.go b/api.go index 5181d29..9c3181e 100644 --- a/api.go +++ b/api.go @@ -515,7 +515,7 @@ func hlinterval(t *rt.Thread, c *rt.GoCont) (rt.Cont, error) { } interval := time.Duration(ms) * time.Millisecond - timer := timers.creat(timerInterval, interval, cb) + timer := timers.create(timerInterval, interval, cb) timer.start() return c.PushingNext1(t.Runtime, timer.lua()), nil