Created
May 30, 2014 19:00
-
-
Save JesterXL/5f83a47d277d0a595775 to your computer and use it in GitHub Desktop.
Stop Start of Process
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function stop() | |
if circlespawner ~= nil then | |
timer.cancel(spawnCircle) | |
circlespawner = nil | |
end | |
end | |
function start() | |
stop() | |
circlespawner = timer.performWithDelay(1000, spawnCircle,0) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment