diff --git a/CHANGELOG.md b/CHANGELOG.md index 6922287..c0e1a52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +## [0.0.2.1] - 2024-08-21 +- fix a bug for saving the `monthlyPressureCheck` + ## [0.0.2.0] - 2024-08-02 - adjust the sell price of honey from 10.20 to 5.42 - added the ability to `decideToSwarm` when played with multiple days per period. One decision per month diff --git a/FS22_BeesRevamp/modDesc.xml b/FS22_BeesRevamp/modDesc.xml index be91c1a..e26c434 100644 --- a/FS22_BeesRevamp/modDesc.xml +++ b/FS22_BeesRevamp/modDesc.xml @@ -1,12 +1,12 @@ - - - Peppie84 - 0.0.2.0 - - <en>Bees Revamp</en> - <de>Bees Revamp</de> - - + + + Peppie84 + 0.0.2.1 + + <en>Bees Revamp</en> + <de>Bees Revamp</de> + + +]]> - - - - FS22_beeHivesWood - FS22_SmallBeehives01 - - - icon_BeesRevamp.dds - - - - - - +]]> + + + FS22_beeHivesWood + FS22_SmallBeehives01 + + icon_BeesRevamp.dds + + + + + + \ No newline at end of file diff --git a/FS22_BeesRevamp/src/beecare.lua b/FS22_BeesRevamp/src/beecare.lua index c4c9f7f..6ac086f 100644 --- a/FS22_BeesRevamp/src/beecare.lua +++ b/FS22_BeesRevamp/src/beecare.lua @@ -91,7 +91,7 @@ function BeeCare:loadFromXMLFile(xmlFile, key) spec.swarmed = xmlFile:getBool(key .. '#swarmed', spec.swarmed) spec.swarmPressure = xmlFile:getBool(key .. '#swarmPressure', spec.swarmPressure) spec.state = xmlFile:getInt(key .. '#state', spec.state) - spec.monthlyPressureCheck = xmlFile:getInt(key .. '#monthlyPressureCheck', spec.monthlyPressureCheck) + spec.monthlyPressureCheck = xmlFile:getBool(key .. '#monthlyPressureCheck', spec.monthlyPressureCheck) spec:updateInfoTables() end