From e2cf14c62cfd5dec7ef6124f9618ba0fc1ed2af9 Mon Sep 17 00:00:00 2001 From: Arkadiusz Lach Date: Sat, 7 Dec 2024 07:32:58 +0100 Subject: [PATCH] Use graph index in addValue --- modules/game_bot/default_configs/vBot_4.7/vBot/analyzer.lua | 2 +- modules/game_bot/default_configs/vBot_4.8/vBot/analyzer.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/game_bot/default_configs/vBot_4.7/vBot/analyzer.lua b/modules/game_bot/default_configs/vBot_4.7/vBot/analyzer.lua index 0607412..32d2b33 100644 --- a/modules/game_bot/default_configs/vBot_4.7/vBot/analyzer.lua +++ b/modules/game_bot/default_configs/vBot_4.7/vBot/analyzer.lua @@ -124,7 +124,7 @@ local drawGraph = function(graph, value) graph:setLineWidth(1, 1) graph:setLineColor(1, "#FF0000") end - graph:addValue(value) + graph:addValue(1, value) end local toggleAnalyzer = function(window) diff --git a/modules/game_bot/default_configs/vBot_4.8/vBot/analyzer.lua b/modules/game_bot/default_configs/vBot_4.8/vBot/analyzer.lua index 7a2c8e5..8235e58 100644 --- a/modules/game_bot/default_configs/vBot_4.8/vBot/analyzer.lua +++ b/modules/game_bot/default_configs/vBot_4.8/vBot/analyzer.lua @@ -138,7 +138,7 @@ local drawGraph = function(graph, value) graph:setLineWidth(1, 1) graph:setLineColor(1, "#FF0000") end - graph:addValue(value) + graph:addValue(1, value) end local toggleAnalyzer = function(window)