diff --git a/LunaTranslator/LunaTranslator/LunaTranslator.py b/LunaTranslator/LunaTranslator/LunaTranslator.py index a898ebf7..8d6aae6d 100644 --- a/LunaTranslator/LunaTranslator/LunaTranslator.py +++ b/LunaTranslator/LunaTranslator/LunaTranslator.py @@ -664,11 +664,11 @@ class MAINUI: # if any(map(testprivilege,pids)): self.textsource = None if globalconfig["sourcestatus2"]["texthook"]["use"]: - - idx = savehook_new_list.index(name_) - savehook_new_list.insert( - 0, savehook_new_list.pop(idx) - ) + if globalconfig["startgamenototop"] == False: + idx = savehook_new_list.index(name_) + savehook_new_list.insert( + 0, savehook_new_list.pop(idx) + ) needinserthookcode = savehook_new_data[name_][ "needinserthookcode" ] diff --git a/LunaTranslator/files/defaultconfig/config.json b/LunaTranslator/files/defaultconfig/config.json index dc981e9a..1a5a310d 100644 --- a/LunaTranslator/files/defaultconfig/config.json +++ b/LunaTranslator/files/defaultconfig/config.json @@ -122,7 +122,7 @@ "fontsize": 17.0, "localeswitchmethod": 0, "hide_not_exists":false, - "startgamenototop":false, + "startgamenototop":true, "extra_space":0, "fonttype": "Arial", "fonttype2": "Arial",