diff --git a/OhScrap/OhScrap.csproj b/OhScrap/OhScrap.csproj index d123735..339dbe1 100644 --- a/OhScrap/OhScrap.csproj +++ b/OhScrap/OhScrap.csproj @@ -35,15 +35,14 @@ false - - ..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program - ModDev\KSP_x64_Data\Managed\Assembly-CSharp.dll + + ..\..\..\..\.steam\steam\steamapps\common\Kerbal Space Program\KSP_Data\Managed\Assembly-CSharp.dll - - ..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program - ModDev\KSP_x64_Data\Managed\Assembly-CSharp-firstpass.dll + + ..\..\..\..\.steam\steam\steamapps\common\Kerbal Space Program\KSP_Data\Managed\Assembly-CSharp-firstpass.dll - - False - ..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program - ModDev\GameData\ScrapYard\ScrapYard.dll + + ..\..\..\..\.steam\steam\steamapps\common\Kerbal Space Program (1.7.2 Modded)\GameData\ScrapYard\ScrapYard.dll @@ -51,14 +50,11 @@ - - C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program - ModDev\GameData\ScrapYard\ScrapYard.dll + + ..\..\..\..\.steam\steam\steamapps\common\Kerbal Space Program\KSP_Data\Managed\UnityEngine.dll - - ..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program - ModDev\KSP_x64_Data\Managed\UnityEngine.dll - - - ..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program - ModDev\KSP_x64_Data\Managed\UnityEngine.UI.dll + + ..\..\..\..\.steam\steam\steamapps\common\Kerbal Space Program\KSP_Data\Managed\UnityEngine.UI.dll diff --git a/OhScrap/UPFMUtils.cs b/OhScrap/UPFMUtils.cs index a33911d..8138eb5 100644 --- a/OhScrap/UPFMUtils.cs +++ b/OhScrap/UPFMUtils.cs @@ -416,8 +416,11 @@ void GUIDisplay(int windowID) } if(vesselSafetyRating == -1 || editorConstruct == null || editorConstruct.parts.Count() == 0) { - GUILayout.Label("No parts detected. Place or right click on a part"); - return; + if (HighLogic.LoadedSceneIsEditor || vesselSafetyRating == -1) + { + GUILayout.Label("No parts detected. Place or right click on a part"); + return; + } } GUILayout.Label("Vessel Safety Rating: " + vesselSafetyRating + " " + s); advancedDisplay = File.Exists(KSPUtil.ApplicationRootPath + "GameData/Severedsolo/OhScrap/debug.txt"); diff --git a/OhScrap/obj/Release/OhScrap.csproj.FileListAbsolute.txt b/OhScrap/obj/Release/OhScrap.csproj.FileListAbsolute.txt index d9be056..4eb3f65 100644 --- a/OhScrap/obj/Release/OhScrap.csproj.FileListAbsolute.txt +++ b/OhScrap/obj/Release/OhScrap.csproj.FileListAbsolute.txt @@ -54,20 +54,20 @@ D:/OneDrive/Documents/Github/OhScrap/OhScrap/obj/Release/OhScrap.pdb /home/martin/OneDrive/Documents/GitHub/OhScrap/OhScrap/obj/Release/OhScrap.csproj.CoreCompileInputs.cache /home/martin/OneDrive/Documents/GitHub/OhScrap/OhScrap/obj/Release/OhScrap.dll /home/martin/OneDrive/Documents/GitHub/OhScrap/OhScrap/obj/Release/OhScrap.pdb -C:\Users\evilp\source\repos\OhScrap\OhScrap\bin\Release\OhScrap.dll -C:\Users\evilp\source\repos\OhScrap\OhScrap\bin\Release\OhScrap.pdb -C:\Users\evilp\source\repos\OhScrap\OhScrap\bin\Release\Assembly-CSharp-firstpass.dll -C:\Users\evilp\source\repos\OhScrap\OhScrap\bin\Release\Assembly-CSharp.dll -C:\Users\evilp\source\repos\OhScrap\OhScrap\bin\Release\ScrapYard.dll -C:\Users\evilp\source\repos\OhScrap\OhScrap\bin\Release\UnityEngine.dll -C:\Users\evilp\source\repos\OhScrap\OhScrap\bin\Release\UnityEngine.UI.dll -C:\Users\evilp\source\repos\OhScrap\OhScrap\bin\Release\KSPTrackIR.dll -C:\Users\evilp\source\repos\OhScrap\OhScrap\bin\Release\KSPAssets.dll -C:\Users\evilp\source\repos\OhScrap\OhScrap\bin\Release\Mono.Cecil.dll -C:\Users\evilp\source\repos\OhScrap\OhScrap\bin\Release\Ionic.Zip.dll -C:\Users\evilp\source\repos\OhScrap\OhScrap\bin\Release\TDx.TDxInput.dll -C:\Users\evilp\source\repos\OhScrap\OhScrap\obj\Release\OhScrap.csproj.CoreCompileInputs.cache -C:\Users\evilp\source\repos\OhScrap\OhScrap\obj\Release\OhScrap.csproj.CopyComplete -C:\Users\evilp\source\repos\OhScrap\OhScrap\obj\Release\OhScrap.dll -C:\Users\evilp\source\repos\OhScrap\OhScrap\obj\Release\OhScrap.pdb -C:\Users\evilp\source\repos\OhScrap\OhScrap\obj\Release\OhScrap.csprojAssemblyReference.cache +C:/Users/evilp/source/repos/OhScrap/OhScrap/bin/Release/OhScrap.dll +C:/Users/evilp/source/repos/OhScrap/OhScrap/bin/Release/OhScrap.pdb +C:/Users/evilp/source/repos/OhScrap/OhScrap/bin/Release/Assembly-CSharp-firstpass.dll +C:/Users/evilp/source/repos/OhScrap/OhScrap/bin/Release/Assembly-CSharp.dll +C:/Users/evilp/source/repos/OhScrap/OhScrap/bin/Release/ScrapYard.dll +C:/Users/evilp/source/repos/OhScrap/OhScrap/bin/Release/UnityEngine.dll +C:/Users/evilp/source/repos/OhScrap/OhScrap/bin/Release/UnityEngine.UI.dll +C:/Users/evilp/source/repos/OhScrap/OhScrap/bin/Release/KSPTrackIR.dll +C:/Users/evilp/source/repos/OhScrap/OhScrap/bin/Release/KSPAssets.dll +C:/Users/evilp/source/repos/OhScrap/OhScrap/bin/Release/Mono.Cecil.dll +C:/Users/evilp/source/repos/OhScrap/OhScrap/bin/Release/Ionic.Zip.dll +C:/Users/evilp/source/repos/OhScrap/OhScrap/bin/Release/TDx.TDxInput.dll +C:/Users/evilp/source/repos/OhScrap/OhScrap/obj/Release/OhScrap.csproj.CoreCompileInputs.cache +C:/Users/evilp/source/repos/OhScrap/OhScrap/obj/Release/OhScrap.csproj.CopyComplete +C:/Users/evilp/source/repos/OhScrap/OhScrap/obj/Release/OhScrap.dll +C:/Users/evilp/source/repos/OhScrap/OhScrap/obj/Release/OhScrap.pdb +C:/Users/evilp/source/repos/OhScrap/OhScrap/obj/Release/OhScrap.csprojAssemblyReference.cache