Fixed typo

This commit is contained in:
2020-12-29 01:04:13 +01:00
parent b026c4d7a7
commit 06752f6f30
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -19,7 +19,7 @@ class optimizer_settings
$raw = file_get_contents($this->path);
$json = json_decode($raw, true);
$this->osu_path = $json["osu_folder"] ?? "";
$this->osu_path = $json["osu_path"] ?? "";
}
public function save()
@@ -28,7 +28,7 @@ class optimizer_settings
$json["osu_path"] = $this->osu_path;
$raw = json_encode($json);
file_put_contents($this->path);
file_put_contents($this->path, $raw);
}
public function set_osu_path($path) : void