mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-24 00:55:56 +08:00
Fix: [ALAS] Global MuMu 12 id
This commit is contained in:
@@ -105,7 +105,7 @@ class EmulatorInstanceBase:
|
|||||||
Returns:
|
Returns:
|
||||||
int: Instance ID, or None if this is not a MuMu 12 instance
|
int: Instance ID, or None if this is not a MuMu 12 instance
|
||||||
"""
|
"""
|
||||||
res = re.search(r'MuMuPlayer-12.0-(\d+)', self.name)
|
res = re.search(r'MuMuPlayer(?:Global)?-12.0-(\d+)', self.name)
|
||||||
if res:
|
if res:
|
||||||
return int(res.group(1))
|
return int(res.group(1))
|
||||||
res = re.search(r'YXArkNights-12.0-(\d+)', self.name)
|
res = re.search(r'YXArkNights-12.0-(\d+)', self.name)
|
||||||
|
|||||||
Reference in New Issue
Block a user