Compare commits
2 Commits
27657e4ef3
...
8a1d772bb4
Author | SHA1 | Date | |
---|---|---|---|
8a1d772bb4 | |||
75c94df180 |
@ -33,7 +33,7 @@ do
|
|||||||
--it can be overwritten.
|
--it can be overwritten.
|
||||||
---@param ticks integer Number of ticks to wait
|
---@param ticks integer Number of ticks to wait
|
||||||
---@param next function Callback to run
|
---@param next function Callback to run
|
||||||
---@param name function Name of callback
|
---@param name string Name of callback
|
||||||
function namedWait(ticks, next, name)
|
function namedWait(ticks, next, name)
|
||||||
-- main difference, this will overwrite an existing timer with
|
-- main difference, this will overwrite an existing timer with
|
||||||
-- the same name
|
-- the same name
|
||||||
|
4
util.lua
4
util.lua
@ -204,4 +204,8 @@ local function recurseModelGroup(group)
|
|||||||
end
|
end
|
||||||
util.recurseModelGroup=recurseModelGroup
|
util.recurseModelGroup=recurseModelGroup
|
||||||
|
|
||||||
|
function util.traceback()
|
||||||
|
return ({pcall(function() error("", 4) end)})[2]:match("stack traceback:.+$")
|
||||||
|
end
|
||||||
|
|
||||||
return util
|
return util
|
||||||
|
Loading…
x
Reference in New Issue
Block a user