Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
don't show 'incompatible mono version' for mono major versions > 2
  • Loading branch information
UnknownShadow200 committed Jun 4, 2017
1 parent 669bde2 commit e0b213a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fCraft/System/Utils/MonoCompat.cs
Expand Up @@ -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 );
}
Expand Down

0 comments on commit e0b213a

Please sign in to comment.