From 5404c36f7389902ddbeb208bf322a2f3a9ddf147 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 11 Apr 2020 15:15:04 +0200 Subject: [PATCH] mark replay as obsolete --- MLEM/Extensions/SoundExtensions.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MLEM/Extensions/SoundExtensions.cs b/MLEM/Extensions/SoundExtensions.cs index fcd7be8..362e915 100644 --- a/MLEM/Extensions/SoundExtensions.cs +++ b/MLEM/Extensions/SoundExtensions.cs @@ -1,8 +1,10 @@ +using System; using Microsoft.Xna.Framework.Audio; namespace MLEM.Extensions { public static class SoundExtensions { + [Obsolete("When using the .NET Core version of MonoGame, the replay issue has been fixed. Just call Play() instead.")] public static void Replay(this SoundEffectInstance sound) { sound.Stop(); sound.Play();