From 54cc252bd73aca406f16c6eba95b4229797f6824 Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Wed, 23 Jan 2019 15:31:18 +0100 Subject: [PATCH] Remove direct references to IOverlay. I've removed it in the OpenGL branch due to being kinda a bad idea. Overlay as an abstract is a much better one. --- Content.Client/GameObjects/Components/Mobs/SpeciesUI.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Content.Client/GameObjects/Components/Mobs/SpeciesUI.cs b/Content.Client/GameObjects/Components/Mobs/SpeciesUI.cs index a8f498a168..2bf34586b2 100644 --- a/Content.Client/GameObjects/Components/Mobs/SpeciesUI.cs +++ b/Content.Client/GameObjects/Components/Mobs/SpeciesUI.cs @@ -16,6 +16,7 @@ using SS14.Shared.IoC; using SS14.Shared.Log; using SS14.Shared.Utility; using System.Collections.Generic; +using SS14.Client.Graphics.Overlays; namespace Content.Client.GameObjects { @@ -54,7 +55,7 @@ namespace Content.Client.GameObjects /// /// Holds the screen effects that can be applied mapped ot their relevant overlay /// - private Dictionary EffectsDictionary; + private Dictionary EffectsDictionary; public override void OnRemove() { @@ -70,7 +71,7 @@ namespace Content.Client.GameObjects IoCManager.InjectDependencies(this); _window = new SpeciesWindow(); - EffectsDictionary = new Dictionary() + EffectsDictionary = new Dictionary() { { ScreenEffects.CircleMask, new CircleMaskOverlay() }, { ScreenEffects.GradientCircleMask, new GradientCircleMask() }