oEtG Forum

General Category => Game Bugs => Fixed Bugs => Topic started by: Chapuz on April 27, 2018, 08:40:45 pm

Title: Save button (Editor) Not working properly
Post by: Chapuz on April 27, 2018, 08:40:45 pm
When I do things in a specific order (coincidentally the one I always do), I can't save a new deck.
My order:

1- Go to slot 10, where I have a saved deck named "_Sketches"
2- Modify that deck, either adding & removing cards or importing a deck code
3- Write a new name in the name box
4- Press the Save button

The new deck isn't created, I don't get the deck as my default deck and my deck in slot 10 didn't change its name.

EDIT: Then I tried saving the deck in slot 9, and got both slots 9 and 10 selected at the same time. Halp
Title: Re: Save button (Editor) Not working properly
Post by: serprex on April 27, 2018, 10:39:33 pm
https://github.com/serprex/openEtG/commit/b23de7d4aed1a59b144002f7732866cefedfb368
Title: Re: Save button (Editor) Not working properly
Post by: cg on April 28, 2018, 05:39:02 pm
save button isn't working for named decks

edit- meaning if you try to save to a new named deck, it just doesn't store the name and keeps saving to whatever you previously were on. so no way to name new decks. true of "save", "save&exit", "saveto#", and switching deck slots
Title: Re: Save button (Editor) Not working properly
Post by: serprex on April 29, 2018, 02:31:36 am
https://github.com/serprex/openEtG/commit/339bffb1a66c12ee119634eaa96f99b1db2f420f