Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All modifications on guns get deleted upon reloading a save #79378

Closed
unnui opened this issue Jan 27, 2025 · 5 comments
Closed

All modifications on guns get deleted upon reloading a save #79378

unnui opened this issue Jan 27, 2025 · 5 comments
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility

Comments

@unnui
Copy link

unnui commented Jan 27, 2025

Describe the bug

During normal gameplay, the barrels on various guns held by the player will be deleted upon reloading the save.
EDIT: It's not only limited to barrels, but all modifications.

Attach save file

N/A

Steps to reproduce

  1. Attach a mod to a rifle
  2. Save and exit the game
  3. Start the game and reload
  4. Check the gun's modifications

Expected behavior

All modifications should stay attached in the gun, but they get deleted instead.

Screenshots

Before reloading the game:
Image
After reloading the game:
Image

Versions and configuration

  • OS: Arch Linux
  • Game Version: Cataclysm-DDA experimental build 2025-01-26-1825
  • Graphics Version: Tiles
  • Ingame Language: English

Additional context

No response

@unnui unnui added the (S1 - Need confirmation) Report waiting on confirmation of reproducibility label Jan 27, 2025
@sanosit
Copy link

sanosit commented Jan 27, 2025

Not only receiver, all modifications got deleted upon save and load.
Strings, scopes, etc.
Plus, after this "deletion" if you pickup the gun, it will be unloaded and the mag will drop on the ground. If you gun had no mag, the full one would spawn.

@unnui unnui changed the title Barrel modifications on guns get deleted upon reloading a save All modifications on guns get deleted upon reloading a save Jan 28, 2025
@unnui
Copy link
Author

unnui commented Jan 28, 2025

Not only receiver, all modifications got deleted upon save and load. Strings, scopes, etc. Plus, after this "deletion" if you pickup the gun, it will be unloaded and the mag will drop on the ground. If you gun had no mag, the full one would spawn.

You're right, thank you. I edited the issue to include all modifications entirely.

@Termineitor244
Copy link
Contributor

This was supposed to have been fixed in #79311 by @ShnitzelX2, this specific problem was already reported in #79299, but you are playing in a version of the game that already includes the fix...

@sanosit
Copy link

sanosit commented Jan 28, 2025

This was supposed to have been fixed in #79311 by @ShnitzelX2, this specific problem was already reported in #79299, but you are playing in a version of the game that already includes the fix...

Right, my version was just day before. Big thanks.
Should be fine, if else, would open new issue.

@ShnitzelX2
Copy link
Contributor

I can't reproduce the issue on my branch (updated today). Maybe @unnui's save was from before the fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(S1 - Need confirmation) Report waiting on confirmation of reproducibility
Projects
None yet
Development

No branches or pull requests

5 participants