Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Deimos
ProjectAzilroka
Commits
7ceb2d1e
Commit
7ceb2d1e
authored
Dec 24, 2018
by
Azilroka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change it to this maybe.
parent
009c27b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Modules/ReputationReward.lua
Modules/ReputationReward.lua
+5
-5
No files found.
Modules/ReputationReward.lua
View file @
7ceb2d1e
...
...
@@ -153,16 +153,16 @@ function RR:Show()
if
(
QuestInfoFrame
.
mapView
)
then
if
rewardsFrame
.
XPFrame
:
IsShown
()
then
lastFrame
=
rewardsFrame
.
XPFrame
if
buttonIndex
==
0
then
buttonIndex
=
1
end
end
if
rewardsFrame
.
MoneyFrame
:
IsShown
()
then
lastFrame
=
rewardsFrame
.
MoneyFrame
if
buttonIndex
==
0
then
buttonIndex
=
1
end
end
else
if
rewardsFrame
.
MoneyFrame
:
IsShown
()
then
lastFrame
=
rewardsFrame
.
MoneyFrame
end
if
rewardsFrame
.
XPFrame
:
IsShown
()
then
lastFrame
=
rewardsFrame
.
XPFrame
if
buttonIndex
==
0
then
buttonIndex
=
1
end
end
end
...
...
@@ -178,8 +178,8 @@ function RR:Show()
if
questItem
then
questItem
:
Show
()
questItem
.
type
=
nil
questItem
.
objectType
=
nil
questItem
.
type
=
"reward"
questItem
.
objectType
=
"reputation"
questItem
.
Name
:
SetText
(
Info
.
Name
)
questItem
.
Icon
:
SetTexture
(
PA
.
MyFaction
and
(
PA
.
MyFaction
==
'Neutral'
and
[[Interface\Icons\Achievement_Character_Pandaren_Female]]
or
(
[[Interface\Icons\PVPCurrency-Conquest-%s]]
):
format
(
PA
.
MyFaction
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment