Courseplay / ChallengeMode_FS22

Challenge Mode for Farming Simulator 22
GNU General Public License v3.0
1 stars 3 forks source link

Farm visibility fix #28

Closed tn4799 closed 1 year ago

tn4799 commented 1 year ago

When loading in a game after restart the farms that previously were hidden are visible. This behaviour happended because on the save of the visibility it was always true because of the intended nil-check. Also removed saving visibility for all farmIds, even if not all are created. Instead now set it if a farm is created.