Skip to content
Permalink
Browse files

don't show 'incompatible mono version' for mono major versions > 2

  • Loading branch information...
UnknownShadow200 committed Jun 4, 2017
1 parent 669bde2 commit e0b213ad5b2612a5b454b07d8039d28ae15e186f
Showing with 1 addition and 1 deletion.
  1. +1 −1 fCraft/System/Utils/MonoCompat.cs
@@ -48,7 +48,7 @@ public static class MonoCompat {
int minor = Int32.Parse( versionMatch.Groups[2].Value );
int revision = Int32.Parse( versionMatch.Groups[3].Value );
MonoVersion = new Version( major, minor, revision );
IsSGenCapable = (major == 2 && minor >= 8);
IsSGenCapable = (major >= 2 && minor >= 8);
} catch( Exception ex ) {
throw new Exception( UnsupportedMessage, ex );
}

0 comments on commit e0b213a

Please sign in to comment.
You can’t perform that action at this time.