From 7f4591bcec851721fcf4a4b4702d7df90d6ce2c0 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sat, 11 Sep 2021 16:09:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=AD=E6=96=B9=E5=9D=97=E5=92=8C?= =?UTF-8?q?=E5=BD=B1=E5=AD=90=E7=9A=84mod=E4=B9=9F=E5=8F=AF=E4=BB=A5?= =?UTF-8?q?=E5=BC=BA=E5=88=B6=E5=BC=80=E5=90=AF=20close=20#289?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/globalTables.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/parts/globalTables.lua b/parts/globalTables.lua index 955a4295..0cb30d18 100644 --- a/parts/globalTables.lua +++ b/parts/globalTables.lua @@ -26,14 +26,16 @@ MODOPT={--Mod options func=function(P)P.gameEnv.infHold=true end, unranked=true, }, - {no=4,id="HB",name="hideBlock", + {no=4,id="HB",name="block", key="y",x=680,y=230,color='lV', - func=function(P)P.gameEnv.block=false end, + list={'off','on'}, + func=function(P,O)P.gameEnv.block=O=='on'end, unranked=true, }, - {no=5,id="HG",name="hideGhost", + {no=5,id="HG",name="ghost", key="u",x=800,y=230,color='lV', - func=function(P)P.gameEnv.ghost=false end, + list={'off','on'}, + func=function(P,O)P.gameEnv.ghost=O=='on'end, unranked=true, }, {no=6,id="HD",name="hidden",