From ea2c67ca5fe03415fe7a79831738131f8ebb1585 Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Thu, 7 Dec 2017 11:10:34 +0900 Subject: [PATCH] Fix incorrect serialization condition --- osu.Game/Audio/SampleInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osu.Game/Audio/SampleInfo.cs b/osu.Game/Audio/SampleInfo.cs index edfda3bdc9..f8b5bf33d9 100644 --- a/osu.Game/Audio/SampleInfo.cs +++ b/osu.Game/Audio/SampleInfo.cs @@ -28,7 +28,7 @@ namespace osu.Game.Audio set { bank = value; } } - public bool ShouldSerializeBank() => Bank == ControlPoint.SampleBank; + public bool ShouldSerializeBank() => Bank != ControlPoint.SampleBank; /// /// The name of the sample to load. @@ -45,6 +45,6 @@ namespace osu.Game.Audio set { volume = value; } } - public bool ShouldSerializeVolume() => Volume == ControlPoint.SampleVolume; + public bool ShouldSerializeVolume() => Volume != ControlPoint.SampleVolume; } }