From 237dc618fc3b39f2fe8c82d2ab206ae92e8e575a Mon Sep 17 00:00:00 2001 From: baidwwy <313738139@qq.com> Date: Sun, 2 May 2021 14:48:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GGELUA/Release64/lua/GGE/GGE.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/GGELUA/Release64/lua/GGE/GGE.lua b/GGELUA/Release64/lua/GGE/GGE.lua index 02250b6..26a56a0 100644 --- a/GGELUA/Release64/lua/GGE/GGE.lua +++ b/GGELUA/Release64/lua/GGE/GGE.lua @@ -1,7 +1,7 @@ --[[ @Author : GGELUA @Date : 2020-10-11 11:55:41 - @LastEditTime : 2021-05-02 11:02:26 + @LastEditTime : 2021-05-02 14:47:30 --]] local ggelua = gge @@ -88,11 +88,11 @@ function ggetype(v) return t end -function ggeassert(condition,ret,level) +function ggeassert(condition,err,level) if condition then - return ret + return condition else - error(ret,level+1) + error(err,level+1) end end