public override void ModifyInterfaceLayers(List <GameInterfaceLayer> layers) { if (Main.gameMenu) { return; } if (CutsceneLibConfig.Instance.DebugModeFreeMove) { return; } Cutscene nowCutscene = CutsceneManager.Instance?.GetCurrentCutscene_Player(Main.LocalPlayer); if (nowCutscene == null) { return; } foreach (GameInterfaceLayer layer in layers) { if (layer.Name.Equals("Vanilla: Cursor")) { continue; } if (layer.Name.Equals("Cutscene Lib: Titles")) { continue; } if (layer.Name.Equals("ModHelpers: HUD UI")) { continue; } if (layer.Name.Equals("ModHelpers: Mod Lock")) { continue; } if (layer.Name.Equals("ModHelpers: Debug Display")) { continue; } if (nowCutscene.AllowInterfaceLayer(layer)) { continue; } layer.Active = false; } this.AddTitleDisplayLayer(layers); }