mirror of
https://github.com/rayaman/multi.git
synced 2026-09-05 07:27:35 -04:00
Added tstep to STP, updated changes.md
This commit is contained in:
@@ -192,6 +192,10 @@ function multi:newSystemThreadedProcessor(name, cores)
|
||||
return self.spawnTask("newStep", start, reset, count, skip):init()
|
||||
end
|
||||
|
||||
function c:newTStep(start ,reset, count, set)
|
||||
return self.spawnTask("newTStep", start, reset, count, set):init()
|
||||
end
|
||||
|
||||
c.OnObjectCreated(function(proc, obj)
|
||||
if not(obj.Type == multi.UPDATER or obj.Type == multi.LOOP) then
|
||||
return multi.error("Invalid type!")
|
||||
|
||||
Reference in New Issue
Block a user