1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2026-06-09 20:04:52 +00:00

fix(cafe): adjust property of second cafe setting

This commit is contained in:
2023-11-22 19:05:36 +08:00
parent 91650cc584
commit 36c5f60eb3
+5 -3
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: