From 77e55b7513a7d03f219246846b9409840b23bc8b Mon Sep 17 00:00:00 2001 From: JianmengYu Date: Sat, 20 May 2023 20:33:59 +0800 Subject: [PATCH] Fixed a bug where "autodestroy_sound." config overwrites "sound." config Addresses Ruin0x11/ElonaPlusCustom-GX/#140 --- 2.05-custom-gx/init.hsp | 1 + 1 file changed, 1 insertion(+) diff --git a/2.05-custom-gx/init.hsp b/2.05-custom-gx/init.hsp index 3ea2bb8b..32b9fe66 100644 --- a/2.05-custom-gx/init.hsp +++ b/2.05-custom-gx/init.hsp @@ -5,6 +5,7 @@ #define cfgRead(%1,%2,%3=nullstr) \ if instr(s,0,%1)!-1{ %c\ + if instr(s,1,%1)!-1:break %c\ i=0:p=0 %c\ repeat %c\ p(2)=instr(s,p,"\"") : if p(2)=-1:break %c\