Update 'Controller/CropController.lua'
This commit is contained in:
parent
7820506e6a
commit
e7fce569e3
@ -213,7 +213,7 @@ function CropController:main()
|
||||
cc.lastHarvest = os.clock()
|
||||
cc:harvest()
|
||||
cc:refreshDisplay()
|
||||
while cc.stats["Harvest Interval"] - (os.clock() - self.lastHarvest) > 0 do
|
||||
while cc.stats["Harvest Interval"] - (os.clock() - cc.lastHarvest) > 0 do
|
||||
cc:updateTimeToHarvest(1, termHeight - 1)
|
||||
sleep(0.5)
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user