fix: remove weird factor and save

This commit is contained in:
cha0s 2022-03-23 04:52:30 -05:00
parent e389e49c18
commit b9ae5668bf

View File

@ -82,7 +82,7 @@ export default (Room) => class FarmableRoom extends Room {
water,
} = json;
if (evaporation) {
this.#evaporation = evaporation / 144;
this.#evaporation = evaporation;
}
if (water) {
this.water = water;
@ -145,6 +145,7 @@ export default (Room) => class FarmableRoom extends Room {
toJSON() {
return {
...super.toJSON(),
evaporation: this.#evaporation,
water: this.water,
};
}