This commit is contained in:
hydrant
2021-05-29 00:10:13 +02:00
parent 53a2d8847b
commit 445f162b64

View File

@@ -173,7 +173,7 @@ export default function hanfSystem(globalData: IGlobalData) {
lastPlantingState = isAbleToPlant(); lastPlantingState = isAbleToPlant();
var markerColor: [number, number, number, number] = [0, 255, 0, 255]; var markerColor: [number, number, number, number] = [0, 255, 0, 255];
if (!newPlantState) { if (!lastPlantingState) {
markerColor = [255, 0, 0, 255]; markerColor = [255, 0, 0, 255];
} }