Fix protenteial error
This commit is contained in:
parent
df568681f5
commit
3cce4dd070
@ -24,12 +24,6 @@ public class ReCodeItCrossCompiler
|
||||
{
|
||||
ActiveProject.ChangedTypes.Clear();
|
||||
|
||||
Remapper.InitializeRemap(
|
||||
ActiveProject.RemapModels,
|
||||
ActiveProject.OriginalAssemblyPath,
|
||||
ActiveProject.RemappedAssemblyPath,
|
||||
true);
|
||||
|
||||
if (ActiveProject == null)
|
||||
{
|
||||
Logger.Log("ERROR: No Cross Compiler Project is loaded, create or load one first.", ConsoleColor.Red);
|
||||
@ -42,6 +36,12 @@ public class ReCodeItCrossCompiler
|
||||
return;
|
||||
}
|
||||
|
||||
Remapper.InitializeRemap(
|
||||
ActiveProject.RemapModels,
|
||||
ActiveProject.OriginalAssemblyPath,
|
||||
ActiveProject.RemappedAssemblyPath,
|
||||
true);
|
||||
|
||||
Logger.Log("-----------------------------------------------", ConsoleColor.Yellow);
|
||||
Logger.Log($"Cross patch remap result", ConsoleColor.Yellow);
|
||||
Logger.Log($"Changed {ActiveProject.ChangedTypes.Count} types", ConsoleColor.Yellow);
|
||||
|
Loading…
x
Reference in New Issue
Block a user