diff --git a/RhythmBullet/Utilities/UI/Modular/Modules/Image.cs b/RhythmBullet/Utilities/UI/Modular/Modules/Image.cs index 1cc8f8c..c306b23 100644 --- a/RhythmBullet/Utilities/UI/Modular/Modules/Image.cs +++ b/RhythmBullet/Utilities/UI/Modular/Modules/Image.cs @@ -11,6 +11,7 @@ namespace RhythmBullet.Utilities.UI.Modular.Modules { class Image : UIModule { + public float rotation = 0f; public Texture2D Texture { get; set; } public float ScaleX { @@ -55,7 +56,7 @@ namespace RhythmBullet.Utilities.UI.Modular.Modules public override void Draw(SpriteBatch batch) { - batch.Draw(Texture, bounds, color); + batch.Draw(Texture, bounds, null, color, rotation, origin, SpriteEffects.None, 0f); base.Draw(batch); } }