Make content use SWSL shaders.

This commit is contained in:
Pieter-Jan Briers
2019-03-18 23:54:58 +01:00
parent 33a915fc67
commit 5e7b03d251
5 changed files with 10 additions and 8 deletions

View File

@@ -131,7 +131,12 @@ namespace Content.Client.GameObjects
{
if (_currentEffect != ScreenEffects.None)
{
_overlayManager.AddOverlay(EffectsDictionary[_currentEffect]);
var overlay = EffectsDictionary[_currentEffect];
if (_overlayManager.HasOverlay(overlay.ID))
{
return;
}
_overlayManager.AddOverlay(overlay);
}
}