@@ -19,14 +19,14 @@ public static ModManifest FromXml(string modName, string path)
1919 return FromUrl ( modName , path ) ;
2020 }
2121
22- private static ModManifest FromUrl ( string modName , string path )
22+ private static ModManifest FromUrl ( string modName , string path , bool remote = false )
2323 {
2424 try
2525 {
2626 XmlDocument document = new XmlDocument ( ) ;
2727 document . Load ( path ) ;
28-
29- return ParseManifest ( modName , document . DocumentElement ) ;
28+
29+ return ParseManifest ( modName , document . DocumentElement , remote ) ;
3030 }
3131 catch
3232 {
@@ -36,7 +36,7 @@ private static ModManifest FromUrl(string modName, string path)
3636 return null ;
3737 }
3838
39- private static ModManifest ParseManifest ( string modName , XmlElement documentElement )
39+ private static ModManifest ParseManifest ( string modName , XmlElement documentElement , bool remote )
4040 {
4141 ModManifest manifest = new ModManifest ( ) ;
4242
@@ -46,9 +46,9 @@ private static ModManifest ParseManifest(string modName, XmlElement documentElem
4646 {
4747 XmlElement element = ( XmlElement ) node ;
4848
49- if ( element . Name . EqualsCaseInsensitive ( "ManifestUrl" ) )
49+ if ( element . Name . EqualsCaseInsensitive ( "ManifestUrl" ) && ! remote )
5050 {
51- manifest . RemoteManifest = FromUrl ( modName , element . InnerText ) ;
51+ manifest . RemoteManifest = FromUrl ( modName , element . InnerText , true ) ;
5252 }
5353 else if ( element . Name . EqualsCaseInsensitive ( "Version" ) )
5454 {
0 commit comments