SoundEffectInstance.State property getter returns a value in all #if conditionals #868

merged 1 commit into from Oct 15, 2012


None yet

2 participants


In an attempt to fix the PSMobile project, this is a first fix.

The problem is that this property did not return a value in all different #if conditional branches (namely - in the last #elif, which PSMobile falls under since it is not Android or WinRT).

The fix is to simply return the private soundState field, as was before (i guess it was accidentally removed? )


A property getter that does not return anything is rather pointless.

@KonajuGames KonajuGames merged commit 717777d into MonoGame:develop3d Oct 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment