Phazorknight / Cogito

Immersive Sim Template Project for GODOT 4
MIT License
717 stars 81 forks source link

Current Slot: C #127

Closed ac-arcana closed 4 months ago

ac-arcana commented 4 months ago

No matter which save slot I choose on the main menu, the save slot is always set as C

Phazorknight commented 4 months ago

Looking into this...

Phazorknight commented 4 months ago

Could you please give https://github.com/Phazorknight/Cogito/commit/600c7ba5a2178b4aee6794f36c72ceee87007a90 a try?

Basically the issue was that when starting a new game, the CogitoSceneManager wasn't switched to the corresponding save slot. Now the save slot buttons need to be given a "manual save slot name". This is the save that will be looked for when the menu loads, and if it doesn't exist, it shows up a s "new game" slot and a save by that name will be created on starting it and then saving. Defaults are named A, B and C, so if any of those exist, they should already show up.

ac-arcana commented 4 months ago

Appears to be fixed. Was just testing for the other issue and noticed this was working right away.