File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -27,3 +27,4 @@ MahjongCopilot.spec
2727libriichi3p /* .pyd
2828libriichi3p /* .so
2929chrome_ext /* /
30+ mjai /bot_3p /model.pth
Original file line number Diff line number Diff line change 77from common .log_helper import LOGGER
88from common .mj_helper import meta_to_options , MjaiType
99from common .utils import GameMode , BotNotSupportingMode
10- from common .settings import Settings
1110
1211
1312def reaction_convert_meta (reaction :dict , is_3p :bool = False ):
@@ -110,13 +109,8 @@ def _init_bot_impl(self, mode:GameMode=GameMode.MJ4P):
110109 import riichi as libriichi
111110 self .mjai_bot = libriichi .mjai .Bot (engine , self .seat )
112111 elif mode == GameMode .MJ3P :
113- settings = Settings ()
114- if settings .enable_ot2_for_3p :
115- import riichi3p
116- self .mjai_bot = riichi3p .online .Bot (self .seat )
117- else :
118- import libriichi3p
119- self .mjai_bot = libriichi3p .mjai .Bot (engine , self .seat )
112+ import libriichi3p
113+ self .mjai_bot = libriichi3p .mjai .Bot (engine , self .seat )
120114 else :
121115 raise BotNotSupportingMode (mode )
122116
You can’t perform that action at this time.
0 commit comments