Quantcast

No force shadow.This fixes #288

Darthpred [08-19-16 - 19:02]
No force shadow.This fixes #288
Filename
ElvUI_SLE/modules/vehicle.lua
diff --git a/ElvUI_SLE/modules/vehicle.lua b/ElvUI_SLE/modules/vehicle.lua
index 0fae8ce..66677eb 100644
--- a/ElvUI_SLE/modules/vehicle.lua
+++ b/ElvUI_SLE/modules/vehicle.lua
@@ -133,8 +133,8 @@ function EVB:Initialize()
 	EVB:BarSize()

 	bar:SetTemplate("Transparent");
-	bar:CreateShadow();
 	if E.private.sle.module.shadows.vehicle then
+		bar:CreateShadow();
 		ES:RegisterShadow(bar.shadow);
 	end