CleverRaven / CleverRaven/Cataclysm-DDA
Weather randomly changes every time you load a save
- Dominant language
- C++
- Stars
- 13.1k
- Forks
- 4.6k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 200
Description
### Describe the bug
I saved the game during Fog weather. When I loaded this save, the weather became Clear.
I reloaded the same save several times, and the weather was random every time (Clear, Fog, Mist, etc.)
### Attach save file
[Rural-trimmed.tar.gz](https://github.com/user-attachments/files/31795225/Rural-trimmed.tar.gz)
### Steps to reproduce
1. Load the attached save several times.
2. Note the weather every time.
### Expected behavior
Weather should be the same as when the save was created.
### Screenshots
_No response_
### Versions and configuration
OS: Linux (Fedora 41)
Game version: 0.I https://github.com/CleverRaven/Cataclysm-DDA/commit/bc6bc2e9cd31c8891b4644ac6bfefde4ec1b65b2
Graphics version: Tiles
Ingame language: English
Mods: none
### Additional context
_No response_
Contributor guide
Research direction
Start with the attached Rural-trimmed.tar.gz save and reproduce the issue by loading it several times, noting the weather each time. Trace the save-loading path for weather state and verify the fix by confirming that every load restores the weather present when the save was created.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100