mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-20 22:53:26 +02:00
Removed debug prints
This commit is contained in:
@@ -142,7 +142,6 @@ context.findPath = function(startPos, destPos, maxDist, params)
|
||||
if math.abs(x) >= marginMin or math.abs(y) >= marginMin then
|
||||
local dest = (destPos.x + x) .. "," .. (destPos.y + y) .. "," .. destPos.z
|
||||
local node = paths[dest]
|
||||
print(node)
|
||||
if node and (not bestCandidate or bestCandidate[1] > node[1]) then
|
||||
bestCandidate = node
|
||||
bestCandidatePos = dest
|
||||
|
@@ -17,11 +17,10 @@ context.addTab = function(name)
|
||||
|
||||
context.tabs:setOn(true)
|
||||
local newTab = context.tabs:addTab(name, g_ui.createWidget('BotPanel')).tabPanel.content
|
||||
print(#(context.tabs.tabs))
|
||||
if #(context.tabs.tabs) > 5 then
|
||||
for k,tab in pairs(context.tabs.tabs) do
|
||||
tab:setPadding(3)
|
||||
tab:setFont('cipsoftFont')
|
||||
tab:setFont('small-9px')
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user