korean localization
This commit is contained in:
1 parent
9c6d521a88
commit
863281aae2
14 files changed
+611
-635
No files matched your search
@@ -34,6 +34,7 @@ from katrain.core.constants import (
|
||||
OUTPUT_DEBUG,
|
||||
OUTPUT_EXTRA_DEBUG,
|
||||
MODE_PLAY,
|
||||
MODE_ANALYZE,
|
||||
HOMEPAGE,
|
||||
VERSION,
|
||||
)
|
||||
@@ -196,6 +197,10 @@ class KaTrainGui(Screen, KaTrainBase):
|
||||
self.message_queue.put([self.game.game_id, message, *args])
|
||||
|
||||
def _do_new_game(self, move_tree=None, analyze_fast=False):
|
||||
if move_tree is None:
|
||||
self.play_mode.select_mode(MODE_PLAY)
|
||||
else:
|
||||
self.play_mode.select_mode(MODE_ANALYZE)
|
||||
self.board_gui.animating_pv = None
|
||||
self.engine.on_new_game() # clear queries
|
||||
self.game = Game(self, self.engine, move_tree=move_tree, analyze_fast=analyze_fast)
|
||||
|
||||
Reference in new issue
Block a user