This commit is contained in:
恍兮惚兮 2024-08-03 17:14:51 +08:00
parent 439bdf33c6
commit a7ba33ddf2

View File

@ -218,14 +218,14 @@ def trysearchforid_1(gameuid, searchargs: list):
continue
idname = targetmod[key].idname
savehook_new_data[gameuid][idname] = vid
gobject.baseobject.translation_ui.displayglobaltooltip.emit(
f"{key}: found {vid}"
)
if infoid is None or key == primitivtemetaorigin:
infoid = key, vid
if infoid:
key, vid = infoid
dispatchsearchfordata(gameuid, key, vid)
gobject.baseobject.translation_ui.displayglobaltooltip.emit(
f"{key}: found {vid}"
)
def trysearchforid(gameuid, searchargs: list):