mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-07-01 18:54:51 +00:00
fix(cafe): adjust property of second cafe setting
This commit is contained in:
+5
-3
@@ -29,14 +29,16 @@ class CafeStatus(Enum):
|
|||||||
|
|
||||||
class Cafe(CafeUI):
|
class Cafe(CafeUI):
|
||||||
@Config.when(Emulator_GameLanguage='jp')
|
@Config.when(Emulator_GameLanguage='jp')
|
||||||
def is_second_cafe_on(self):
|
def _is_second_cafe_on(self):
|
||||||
return self.config.Cafe_SecondCafe
|
return self.config.Cafe_SecondCafe
|
||||||
|
|
||||||
@Config.when(Emulator_GameLanguage=None)
|
@Config.when(Emulator_GameLanguage=None)
|
||||||
def is_second_cafe_on(self):
|
def _is_second_cafe_on(self):
|
||||||
return False
|
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):
|
def _handle_cafe(self, status):
|
||||||
match status:
|
match status:
|
||||||
|
|||||||
Reference in New Issue
Block a user