Skip to content

Commit

Permalink
1.08 - fix bug with cost function
Browse files Browse the repository at this point in the history
  • Loading branch information
ThornyFFXI committed Jul 27, 2023
1 parent 96de48a commit c6ed7c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tCrossBar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

addon.name = 'tCrossBar';
addon.author = 'Thorny';
addon.version = '1.07';
addon.version = '1.08';
addon.desc = 'Creates a controller scheme for activating macros, and provides visual aids for your macroed abilities.';
addon.link = 'https://ashitaxi.com/';

Expand Down
2 changes: 1 addition & 1 deletion updaters/command.lua
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function Updater:Tick()
end

if (gSettings.ShowCost) and (self.Binding.ShowCost) then
self.StructPointer.Cost = self.CostFunction();
self.StructPointer.Cost = self:CostFunction();
end

if (gSettings.ShowTrigger) and (self.Binding.ShowTrigger) then
Expand Down
2 changes: 1 addition & 1 deletion updaters/weaponskill.lua
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function Updater:Tick()
end

if (gSettings.ShowCost) and (self.Binding.ShowCost) then
self.StructPointer.Cost = self.CostFunction();
self.StructPointer.Cost = self:CostFunction();
else
self.StructPointer.Cost = '';
end
Expand Down

0 comments on commit c6ed7c5

Please sign in to comment.