braeven / FS22_A_ProductionRevamp

http://discord.gg/gHmnFZAypk
28 stars 3 forks source link

Add Direct-Sell-Output saving #20

Closed Shad0wlife closed 1 month ago

Shad0wlife commented 1 month ago

Fix for #18.

Saving and loading productions that have production outputs stored from "forced" autosell by "sellDirectly=true". This makes sure that any "sold" outputs don't get lost before they are paid out at the full hour.

Changes made: registered the relevant xml paths, and added the logic to the saveToXMLFile and loadFromXMLFile functions.