Compare commits

..

No commits in common. "7c815022a90d934eda84411fb8d4e88b14377815" and "196526cc6a261a14ff2baf14907583a49622ef31" have entirely different histories.

1 changed files with 1 additions and 2 deletions

3
lua.go
View File

@ -152,8 +152,7 @@ func hshgoroutine(gofunc func()) {
func hshtimeout(timeoutfunc func(), ms int) {
timeout := time.Duration(ms) * time.Millisecond
time.Sleep(timeout)
timeoutfunc()
time.AfterFunc(timeout, timeoutfunc)
}
func hshinterval(L *lua.LState) int {