From 45948b9d942a5ca22aeb4a5ac4e26e3cf4b1c6a9 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Thu, 13 May 2021 23:29:01 +0800 Subject: [PATCH] =?UTF-8?q?LOG.print=E7=BC=BA=E5=A4=B1=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E6=97=B6=E4=B8=8D=E5=86=8D=E7=9B=B4=E6=8E=A5?= =?UTF-8?q?=E7=88=86=E7=82=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/log.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zframework/log.lua b/Zframework/log.lua index 1dc40fe6..f6214d1b 100644 --- a/Zframework/log.lua +++ b/Zframework/log.lua @@ -60,7 +60,7 @@ function LOG.print(text,T,C)--text,type/time/color,color if his then ins(debugMesHistory,SCN.cur..": "..tostring(text)) end - ins(debugMesList,{text=text,r=C[1],g=C[2],b=C[3],blink=30,time=time or 120}) + ins(debugMesList,{text=tostring(text),r=C[1],g=C[2],b=C[3],blink=30,time=time or 120}) end function LOG.copy() local str=table.concat(debugMesHistory,"\n")