Update 'Controller/CropController.lua'

This commit is contained in:
manuel 2023-01-14 10:36:48 +00:00
parent 7820506e6a
commit e7fce569e3

View File

@ -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