From 3bc8744b633eeae9596978ab13db8fedd93dc86d Mon Sep 17 00:00:00 2001 From: Anonymous275 <36374260+Anonymous-275@users.noreply.github.com> Date: Sat, 6 Mar 2021 01:28:53 +0200 Subject: [PATCH] Removed debug printing --- src/TLuaFile.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/TLuaFile.cpp b/src/TLuaFile.cpp index b8237e0..c10d06a 100644 --- a/src/TLuaFile.cpp +++ b/src/TLuaFile.cpp @@ -324,7 +324,6 @@ int lua_GetAllPlayers(lua_State* L) { int lua_GetCars(lua_State* L) { int Args = lua_gettop(L); if (Args > 0 && lua_isnumber(L, 1)) { - info("GetCars Called!"); int ID = int(lua_tonumber(L, 1)); auto MaybeClient = GetClient(Engine().Server(), ID); if (MaybeClient && !MaybeClient.value().expired()) { @@ -342,14 +341,12 @@ int lua_GetCars(lua_State* L) { lua_pushstring(L, v.Data().substr(3).c_str()); lua_settable(L, -3); } - } else return 0; } else { SendError(Engine(), L, ("GetPlayerVehicles not enough arguments")); return 0; } - info("GetCars returned 1!"); return 1; } int lua_dropPlayer(lua_State* L) {