Mainloop unstoppable bug fix

turns out i made it impossible to stop the mainloop oops.
multi.Stop() does this now
This commit is contained in:
Ryan Ward 2018-09-22 11:02:32 -04:00
parent 515f037c0a
commit 4bccb655b6

View File

@ -182,7 +182,7 @@ function multi:getParentProcess()
end end
multi.GetParentProcess=multi.getParentProcess multi.GetParentProcess=multi.getParentProcess
function multi:Stop() function multi:Stop()
self.Active=false mainloopActive=false
end end
function multi:condition(cond) function multi:condition(cond)
if not self.CD then if not self.CD then