Closed AlexFolland closed 7 years ago
That's strange, it works for me and I tested this really well. Don't you get a save confirmation dialog?
This appeared at 2000 BC and what you see in the screenshot is what I saw. Pressing enter made that line appear in stdout, but nothing else. Pressing escape exited this screen back to the game.
For the record, I was using 9aa6d07070eacfd79f3139601cd13ee17abcb808 in this screenshot.
Thanks for the information, I still can not reproduce this but I'll keep trying.
I will tell you if it happens again, also, and try to give more detail in that case.
It could have something to do with "End of Turn" being enabled. I always enable it, and I noticed that it is disabled by default.
Yeah, it happened again at 1000 BC, and I definitely have "End of Turn" enabled. I can't think of any other details to mention.
Oh, I got a technology on the same turn, if that matters.
Can you set breakpoints in /src/Screens/SaveGame.cs at lines 97, 120, 169, 191 and and see if any of them are ever hit. If so, please make a screenshot of VScode.
I'm running without debugging, as running with debugging doesn't work here.
Ah... okay. Does saving via the game menu work for you?
If the stdout lines are correct, yes, but no, pressing enter while the file I want to overwrite is highlighted doesn't do anything visually inside the game window. Clicking also doesn't work.
I have tried running the game on Windows 7 still can't reproduce this issue.
It worked previously, so it must be something that was changed.
There's a change: I have added a confirmation dialog. I'm going to keep trying to find out what could cause this...
I can finally reproduce this...
Is this possibly related to the invalid save games?
There's been some more fixes to the Save games, including data validation on existing save games. The one situation where I could reproduce this had to do with corrupt save games. This appears to have been solved. Can you test to see if it works now? If not, can you try saving to another 'drive letter'?
I can't test this adequately until https://github.com/SWY1985/CivOne/issues/384 is resolved.
This seems to be fixed.
Great news, thank you for testing! 👍
Pressing main enter or numpad enter saves the game here, but doesn't continue to the next screen. See the stdout log in this screenshot.