Update GameOption.java

This commit is contained in:
ShirosakiMio 2023-08-01 19:46:00 +08:00
parent aee0b43abf
commit 06697dfb68
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ public class GameOption {
void onOptionChanged();
}
private void load(@NonNull String path) {
private synchronized void load(@NonNull String path) {
File optionFile = new File(path);
if (!optionFile.exists()) {
try {