From 9578992566a3164004dfbd981e7d530ca6d13ce1 Mon Sep 17 00:00:00 2001 From: Lorraxs Date: Wed, 20 Mar 2024 04:25:47 +0700 Subject: [PATCH] LogError and LogWarning will print out when Config.Debug = false --- main.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.lua b/main.lua index 43b6d1c..ad78f65 100644 --- a/main.lua +++ b/main.lua @@ -157,12 +157,10 @@ function Main:RegisterEvents() end function Main:LogError(msg, ...) - if not Config.Debug then return end print(("[^1ERROR^0] " .. msg):format(...)) end function Main:LogWarning(msg, ...) - if not Config.Debug then return end print(("[^3WARNING^0] " .. msg):format(...)) end