Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("spiral")
- os.loadAPI("file")
- state = file.read("state")
- if state ~= nil then
- dists = state[1]
- is = state[2]
- js = state[3]
- end
- if dists == nil then
- dists = 1
- end
- if is == nil then
- is = 1
- end
- if js == nil then
- js = 1
- end
- spiral.start(dists, is, js)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement