update
This commit is contained in:
parent
ae274d9ea6
commit
af41123b55
@ -49,7 +49,7 @@ local function getState()
|
|||||||
turtleState["dataGoalPathProgress"] = 0
|
turtleState["dataGoalPathProgress"] = 0
|
||||||
turtleState["dataCurrentRow"] = 0
|
turtleState["dataCurrentRow"] = 0
|
||||||
turtleState["dataCurrentPathProgress"] = 0
|
turtleState["dataCurrentPathProgress"] = 0
|
||||||
basic.write_to_file("main/files/state-turtle-miner-fibo.txt", textutils.serialize(turtleState))
|
basic.writeToFile("main/files/state-turtle-miner-fibo.txt", textutils.serialize(turtleState))
|
||||||
else
|
else
|
||||||
turtleState = basic.readFileAll("main/files/state-turtle-miner-fibo.txt")
|
turtleState = basic.readFileAll("main/files/state-turtle-miner-fibo.txt")
|
||||||
turtleState = textutils.unserialize(turtleState)
|
turtleState = textutils.unserialize(turtleState)
|
||||||
|
Loading…
Reference in New Issue
Block a user