From 83926efad4761347f7c1e9890e417baabca309bb Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Mon, 23 Feb 2009 17:59:27 +0100 Subject: [PATCH] Fix Prowl Paging. Before, when turned prowl was turned off, it would switch back to Page0, which is not intended. Instead, it will stay in the cat bar now if prowl is set to "Do not page". --- StateBar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StateBar.lua b/StateBar.lua index c330347..45e9715 100644 --- a/StateBar.lua +++ b/StateBar.lua @@ -137,7 +137,7 @@ function StateBar:UpdateStates(returnOnly) if state and state ~= 0 and v.index then if playerclass == "DRUID" and v.id == "cat" then local prowl = self:GetStanceState("prowl") - if prowl then + if prowl and prowl ~= 0 then table_insert(statedriver, fmt("[bonusbar:%s,stealth:1]%s", v.index, prowl)) end end