From 8e507a8984c7509cc173a7108ca6659db9096f5c Mon Sep 17 00:00:00 2001 From: Gerkiz <39602942+Gerkiz@users.noreply.github.com> Date: Sun, 5 Apr 2020 18:39:16 +0200 Subject: [PATCH] minor fix --- utils/server.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/server.lua b/utils/server.lua index 1b63ee36..67c802d0 100644 --- a/utils/server.lua +++ b/utils/server.lua @@ -700,7 +700,7 @@ function Public.query_online_players() end --- The command 'cc' is only used by the server so it can communicate through the webpanel api to the instances that it starts. --- Doing this, enables achivements and the webpanel can communicate without any interruptions. +-- Doing this, enables achivements and the webpanel can communicate without any interruptions. commands.add_command( 'cc', 'Evaluate command', @@ -713,7 +713,7 @@ commands.add_command( local func, err = loadstring(param) if not func then raw_print(err) return end - _, err2 = pcall(func) + local _, err2 = pcall(func) if err2 then raw_print(err2) return end end)