Advertisement
DoromaAnim

sss

Jan 6th, 2020
457
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. function mine()
  2. {
  3. max_rock = 8;
  4. for(i = max_rock; i > 0; --i)
  5. {
  6. if(rockData[i].depleted)
  7. {
  8. continue;
  9. }
  10. else
  11. {
  12. if(currentRock != i)
  13. {
  14. mineRock(i, true)
  15. }
  16. break;
  17. }
  18. }
  19. }
  20.  
  21. setInterval(mine, 50)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement