1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2025-12-16 15:35:12 +00:00

fix(cafe): adjust property of second cafe setting

This commit is contained in:
YoursFunny 2023-11-22 19:05:36 +08:00
parent 91650cc584
commit 36c5f60eb3
Signed by: YoursFunny
GPG Key ID: 207EDC3CD5B40F9C

View File

@ -29,14 +29,16 @@ class CafeStatus(Enum):
class Cafe(CafeUI):
@Config.when(Emulator_GameLanguage='jp')
def is_second_cafe_on(self):
def _is_second_cafe_on(self):
return self.config.Cafe_SecondCafe
@Config.when(Emulator_GameLanguage=None)
def is_second_cafe_on(self):
def _is_second_cafe_on(self):
return False
is_second_cafe_on = property(is_second_cafe_on)
@property
def is_second_cafe_on(self):
return self._is_second_cafe_on
def _handle_cafe(self, status):
match status: