Replace ChronoshiftPaletteEffect with a post-processing shader.
This commit is contained in:
@@ -101,7 +101,7 @@ namespace OpenRA.Mods.Cnc.Activities
|
||||
|
||||
// Trigger screen desaturate effect
|
||||
if (screenFlash)
|
||||
foreach (var a in self.World.ActorsWithTrait<ChronoshiftPaletteEffect>())
|
||||
foreach (var a in self.World.ActorsWithTrait<ChronoshiftPostProcessEffect>())
|
||||
a.Trait.Enable();
|
||||
|
||||
if (teleporter != null && self != teleporter && !teleporter.Disposed)
|
||||
|
||||
Reference in New Issue
Block a user