Skip to content

Commit

Permalink
Fixes: #294 - Unclobber changes to cata
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSheps committed Nov 11, 2024
1 parent 6c298c4 commit 7963e6f
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 225 deletions.
6 changes: 3 additions & 3 deletions Versions/BeStride_Cata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
<Script file="Common\mounting.zone.lua"/>
<Script file="Common\settings.lua"/>
<Script file="Common\options.lua"/>
<Script file="Cata\bestride.lua"/>
<Script file="Cata\MountTable.lua"/>
<Script file="Cata\logic.lua"/>
<Script file="Mainline\bestride.lua"/>
<Script file="Mainline\MountTable.lua"/>
<Script file="Mainline\logic.lua"/>
<Script file="Common\upgrade.lua"/>
<Script file="Common\bestride.lua"/>
<Script file="Common\opie.lua"/>
Expand Down
Empty file removed Versions/Cata/Functions.lua
Empty file.
64 changes: 0 additions & 64 deletions Versions/Cata/MountTable.lua

This file was deleted.

106 changes: 0 additions & 106 deletions Versions/Cata/bestride.lua

This file was deleted.

45 changes: 0 additions & 45 deletions Versions/Cata/logic.lua

This file was deleted.

2 changes: 1 addition & 1 deletion Versions/Common/bestride.lua
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ function BeStride:ChatCommand(input)
print("Other")
end
else
if self.IsMainline() then
if self.IsMainline() or self.IsCata() then
Settings.OpenToCategory(self.configDialogs.mounts.id)
else
InterfaceOptionsFrame_OpenToCategory("BeStride")
Expand Down
6 changes: 0 additions & 6 deletions Versions/Common/options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -519,15 +519,9 @@ local optionsTable_Mounts = {

local function generateMountTable()
for _,group in pairs({"ground", "flying", "swimming", "repair", "passenger"}) do
print(group)
for key,mountID in pairs(mountTable[group]) do
local mount = mountTable.master[mountID]
local name = mount.name

if group == "swimming" then
print(name)
print(mountID)
end

options = {
name=name,
Expand Down

0 comments on commit 7963e6f

Please sign in to comment.