mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-28 02:41:34 +00:00
Fix: Re-check in-game text lang after waiting a task
This commit is contained in:
parent
913de2771b
commit
0e9d87a000
@ -81,5 +81,11 @@ def release_resources(next_task=''):
|
||||
# logger.info(f'Release {obj}')
|
||||
obj.resource_release()
|
||||
|
||||
# If no task, check in-game text language again at next run
|
||||
# cause user may change it
|
||||
if not next_task:
|
||||
from tasks.base.main_page import MainPage
|
||||
MainPage._lang_checked = False
|
||||
|
||||
# Useless in most cases, but just call it
|
||||
# gc.collect()
|
||||
|
Loading…
Reference in New Issue
Block a user