config: Use float64 within the autosave processing

This commit is contained in:
Jöran Karl
2024-06-19 21:10:52 +02:00
parent 832c7deaf8
commit 4170df89eb
3 changed files with 6 additions and 6 deletions

View File

@@ -357,7 +357,7 @@ func main() {
}
if a := config.GetGlobalOption("autosave").(float64); a > 0 {
config.SetAutoTime(int(a))
config.SetAutoTime(a)
config.StartAutoSave()
}