mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2025-12-16 22:05:12 +00:00
fix(cafe): adjust property of second cafe setting
This commit is contained in:
parent
91650cc584
commit
36c5f60eb3
@ -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:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user