Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Futuremappermydud committed Sep 26, 2023
1 parent 198049a commit 66c3903
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Patches/SetDataPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,25 +26,22 @@ public SetDataPatch(ColorResolver colorResolver)
[AffinityPatch(typeof(LevelBar), nameof(LevelBar.Setup), AffinityMethodType.Normal, null, typeof(IPreviewBeatmapLevel), typeof(BeatmapCharacteristicSO), typeof(BeatmapDifficulty))]
public void Postfix(LevelBar __instance, IPreviewBeatmapLevel previewBeatmapLevel)
{
Plugin.Log.Info("Setting up...");
Plugin.Log.Debug("Setting up...");
var transform = __instance.transform;

var bg = transform.Find("BG").GetComponent<ImageView>();
var cover = transform.Find("SongArtwork").GetComponent<ImageView>();
Plugin.Log.Info("Ye");

var buttons = transform.parent.Find("Buttons");
var menu = buttons.Find("BackButton").gameObject;
var res = buttons.Find("RestartButton").gameObject;
var con = buttons.Find("ContinueButton").gameObject;
Plugin.Log.Info("Ya");

var IForgor = buttons.parent.parent.Find("IFUIContainer");
if(IForgor != null)
{
IForgor = IForgor.Find("IFUIBackground");
}
Plugin.Log.Info("Yee");

Update(previewBeatmapLevel, bg, cover, menu, res, con, __instance._songNameText, __instance._authorNameText, __instance._difficultyText, __instance._characteristicIconImageView, IForgor?.GetComponent<ImageView>());
}
Expand Down

0 comments on commit 66c3903

Please sign in to comment.