@@ -75,6 +75,14 @@ internal static void Init()
75
75
{
76
76
stopwatch . Start ( ) ;
77
77
Harmony . CreateAndPatchAll ( typeof ( Main ) ) ;
78
+ Mod . Manifest polytopia = new (
79
+ "polytopia" ,
80
+ "The Battle of Polytopia" ,
81
+ new ( Application . version . ToString ( ) ) ,
82
+ new string [ ] { "Midjiwan AB" } ,
83
+ Array . Empty < Mod . Dependency > ( )
84
+ ) ;
85
+ Registry . mods . Add ( polytopia . id , new ( polytopia , Mod . Status . Success , new ( ) ) ) ;
78
86
Loader . LoadMods ( Registry . mods ) ;
79
87
dependencyCycle = ! Loader . SortMods ( Registry . mods ) ;
80
88
if ( dependencyCycle ) return ;
@@ -112,14 +120,6 @@ internal static void Init()
112
120
internal static void Load ( JObject gameLogicdata )
113
121
{
114
122
stopwatch . Start ( ) ;
115
- Mod . Manifest polytopia = new (
116
- "polytopia" ,
117
- "The Battle of Polytopia" ,
118
- new ( VersionManager . SemanticVersion . ToString ( ) ) ,
119
- new string [ ] { "Midjiwan AB" } ,
120
- Array . Empty < Mod . Dependency > ( )
121
- ) ;
122
- Registry . mods . Add ( polytopia . id , new ( polytopia , Mod . Status . Success , new ( ) ) ) ;
123
123
Loc . BuildAndLoadLocalization (
124
124
JsonSerializer . Deserialize < Dictionary < string , Dictionary < string , string > > > (
125
125
Plugin . GetResource ( "localization.json" )
0 commit comments