From 192607f874a8419c0defe9e7e369f53456e48ac4 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Thu, 6 May 2021 15:23:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E6=8E=A7=E5=88=B6=E5=8F=B0?= =?UTF-8?q?=E5=86=85rmwtm=E7=9A=84=E8=AF=B4=E6=98=8E=EF=BC=8Crmwtm?= =?UTF-8?q?=E4=B9=9F=E4=B8=8D=E5=86=8D=E4=BB=A5=E6=98=8E=E6=96=87=E5=AD=98?= =?UTF-8?q?=E5=9C=A8=E4=BA=8E=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/app_console.lua | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/parts/scenes/app_console.lua b/parts/scenes/app_console.lua index 405f868f..c3ee82ad 100644 --- a/parts/scenes/app_console.lua +++ b/parts/scenes/app_console.lua @@ -159,13 +159,12 @@ do--commands.help(arg) "Usage: gammacorrect ", }, }, - rmwtm={ - description="Remove the \"no recording\" watermark.", + ["\114\109\119\116\109"]={ + description="Remove something", details={ - "Remove the \"no recording\" watermark.", - "You will need a password to do that.", + "Remove something", "", - "Usage: rmwtm [password]", + "Usage: ?", }, }, unlockall={ @@ -256,7 +255,7 @@ do--commands.help(arg) "scrinfo", "wireframe", "gammacorrect", - "rmwtm", + "\114\109\119\116\109", "unlockall", "play", "playbgm", @@ -478,13 +477,11 @@ function commands.gammacorrect(bool) log{C.aqua,"Usage: gammacorrect "} end end -function commands.rmwtm(pw) +commands["\114\109\119\116\109"]=function(pw) if pw==the_secret then _G["\100\114\97\119\70\87\77"]=NULL log{C.lC,"\87\97\116\101\114\109\97\114\107\32\82\101\109\111\118\101\100"} SFX.play('clear') - else - log{C.aqua,"Usage: rmwtm [password]"} end end function commands.unlockall(bool)