From 18750620997b7963f221f55dadd91d99da795417 Mon Sep 17 00:00:00 2001 From: qwint Date: Wed, 29 Apr 2026 15:29:41 -0500 Subject: [PATCH] Undertale: Handle zero arg /auto_patch (#5130) --- UndertaleClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UndertaleClient.py b/UndertaleClient.py index b0efce206a..bd9936f7c0 100644 --- a/UndertaleClient.py +++ b/UndertaleClient.py @@ -49,7 +49,7 @@ class UndertaleCommandProcessor(ClientCommandProcessor): if isinstance(self.ctx, UndertaleContext): os.makedirs(name=Utils.user_path("Undertale"), exist_ok=True) tempInstall = steaminstall - if not os.path.isfile(os.path.join(tempInstall, "data.win")): + if tempInstall and not os.path.isfile(os.path.join(tempInstall, "data.win")): tempInstall = None if tempInstall is None: tempInstall = "C:\\Program Files (x86)\\Steam\\steamapps\\common\\Undertale"