private DustStyles.DustStyle DustStyles_Get_Session(On.Celeste.DustStyles.orig_Get_Session orig, Session session) { if (Settings.SimplifiedGraphics && Settings.SimplifiedDustSpriteColor.HasValue) { Color color = Settings.SimplifiedDustSpriteColor.Value; return(new DustStyles.DustStyle { EdgeColors = new[] { color.ToVector3(), color.ToVector3(), color.ToVector3() }, EyeColor = color, EyeTextures = "danger/dustcreature/eyes" }); } return(orig(session)); }
private DustStyles.DustStyle DustStyles_Get_Session(On.Celeste.DustStyles.orig_Get_Session orig, Session session) { if (Settings.SimplifiedGraphics) { return(new DustStyles.DustStyle { EdgeColors = new Vector3[] { Color.Orange.ToVector3(), Color.Orange.ToVector3(), Color.Orange.ToVector3() }, EyeColor = Color.Orange, EyeTextures = "danger/dustcreature/eyes" }); } return(orig(session)); }