Commit 464bb428 authored by Merathilis's avatar Merathilis

Revert "this way (didnt test)"

This reverts commit dfd9136d.
parent 94680220
......@@ -473,10 +473,7 @@ end
function NP:PlateFade(nameplate, timeToFade, startAlpha, endAlpha)
if not nameplate.FadePlate then
nameplate.FadePlate = {
finishedFunc = NP.PlateFadeFinish,
finishedArg1 = nameplate
}
nameplate.FadePlate = {}
else
nameplate.FadePlate.fadeTimer = nil
end
......@@ -484,6 +481,8 @@ function NP:PlateFade(nameplate, timeToFade, startAlpha, endAlpha)
nameplate.FadePlate.timeToFade = timeToFade
nameplate.FadePlate.startAlpha = startAlpha
nameplate.FadePlate.endAlpha = endAlpha
nameplate.FadePlate.finishedFunc = NP.PlateFadeFinish
nameplate.FadePlate.finishedArg1 = nameplate
if not nameplate.FadePlate.Fading then
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