diff --git a/lua/pac3/core/server/util.lua b/lua/pac3/core/server/util.lua index 4e8918a62..4ff3d3436 100644 --- a/lua/pac3/core/server/util.lua +++ b/lua/pac3/core/server/util.lua @@ -1,22 +1,6 @@ local CurTime = CurTime local math_Clamp = math.Clamp -function pac.dprint(fmt, ...) - if pac.debug then - MsgN("\n") - MsgN(">>>PAC3>>>") - MsgN(fmt:format(...)) - if pac.debug_trace then - MsgN("==TRACE==") - debug.Trace() - MsgN("==TRACE==") - end - MsgN("<<>>PAC3>>>") MsgN(fmt:format(...)) - if pac.debug_trace then + if debugInt == 2 then MsgN("==TRACE==") debug.Trace() MsgN("==TRACE==") diff --git a/lua/pac3/editor/server/util.lua b/lua/pac3/editor/server/util.lua index c59e607c2..f79913d29 100644 --- a/lua/pac3/editor/server/util.lua +++ b/lua/pac3/editor/server/util.lua @@ -1,19 +1,3 @@ -function pace.dprint(fmt, ...) - if pace.debug then - MsgN("\n") - MsgN(">>>PAC3>>>") - MsgN(fmt:format(...)) - if pace.debug_trace then - MsgN("==TRACE==") - debug.Trace() - MsgN("==TRACE==") - end - MsgN("<<