We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0aee018 commit ef37b01Copy full SHA for ef37b01
1 file changed
src/superGUI.py
@@ -351,7 +351,6 @@ def read_or_create_game_setting(self):
351
self.gameMode = config.getint('CUSTOM', 'gamemode')
352
self.board_constraint = config["CUSTOM"]["board_constraint"]
353
self.attempt_times_limit = config.getint('CUSTOM', 'attempt_times_limit')
354
- self.label_2.reloadFace(self.pixSize)
355
else:
356
# 找不到配置文件就初始化
357
self.min3BV = 100
@@ -452,6 +451,7 @@ def read_or_create_game_setting(self):
452
451
}
453
with open(self.game_setting_path, 'w', encoding='utf-8') as configfile:
454
config.write(configfile) # 将对象写入文件
+ self.label_2.reloadFace(self.pixSize)
455
return _scoreBoardTop, _scoreBoardLeft
456
457
def read_or_create_record(self):
0 commit comments