Commit 464bb428 authored by Merathilis's avatar Merathilis

Revert "this way (didnt test)"

This reverts commit dfd9136d.
parent 94680220
...@@ -473,10 +473,7 @@ end ...@@ -473,10 +473,7 @@ end
function NP:PlateFade(nameplate, timeToFade, startAlpha, endAlpha) function NP:PlateFade(nameplate, timeToFade, startAlpha, endAlpha)
if not nameplate.FadePlate then if not nameplate.FadePlate then
nameplate.FadePlate = { nameplate.FadePlate = {}
finishedFunc = NP.PlateFadeFinish,
finishedArg1 = nameplate
}
else else
nameplate.FadePlate.fadeTimer = nil nameplate.FadePlate.fadeTimer = nil
end end
...@@ -484,6 +481,8 @@ function NP:PlateFade(nameplate, timeToFade, startAlpha, endAlpha) ...@@ -484,6 +481,8 @@ function NP:PlateFade(nameplate, timeToFade, startAlpha, endAlpha)
nameplate.FadePlate.timeToFade = timeToFade nameplate.FadePlate.timeToFade = timeToFade
nameplate.FadePlate.startAlpha = startAlpha nameplate.FadePlate.startAlpha = startAlpha
nameplate.FadePlate.endAlpha = endAlpha nameplate.FadePlate.endAlpha = endAlpha
nameplate.FadePlate.finishedFunc = NP.PlateFadeFinish
nameplate.FadePlate.finishedArg1 = nameplate
if not nameplate.FadePlate.Fading then if not nameplate.FadePlate.Fading then
E:UIFrameFade(nameplate, nameplate.FadePlate) E:UIFrameFade(nameplate, nameplate.FadePlate)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment