Slight farming bugfix
This commit is contained in:
@@ -76,6 +76,9 @@ class CropHarvester : OptionHandler() {
|
|||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
patch.harvestAmt--
|
patch.harvestAmt--
|
||||||
|
if(patch.harvestAmt <= 0){
|
||||||
|
patch.clear()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return patch.cropLives <= 0 || patch.harvestAmt <= 0
|
return patch.cropLives <= 0 || patch.harvestAmt <= 0
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user