Skip to content

Commit

Permalink
Fixed bug when the expansion is included, due to not finding the vint…
Browse files Browse the repository at this point in the history
…age kerbal parts
  • Loading branch information
linuxgurugamer committed Nov 2, 2018
1 parent cd2d54b commit f989f2d
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 7 deletions.
5 changes: 4 additions & 1 deletion Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,7 @@
fixed RPM patch for showing camera fov in the editor for the Kazzelblad and wide-angle camera

0.1.9.6
Version bump for 1.5 rebuild
Version bump for 1.5 rebuild

0.1.9.7
Fixed bug when the expansion is included, due to not finding the vintage kerbal parts
2 changes: 1 addition & 1 deletion GameData/HullCameraVDS/HullcamVDSContinued.version
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"MAJOR": 0,
"MINOR": 1,
"PATCH": 9,
"BUILD": 6
"BUILD": 7
},
"KSP_VERSION": {
"MAJOR": 1,
Expand Down
2 changes: 1 addition & 1 deletion HullCamera/AssemblyVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@

using System.Reflection;

[assembly: AssemblyVersion("0.1.9.6")]
[assembly: AssemblyVersion("0.1.9.7")]
19 changes: 17 additions & 2 deletions HullCamera/FirstPersonEVA.cs
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,25 @@ public void Awake() {
PartLoader.getPartInfoByName("kerbalEVA").partPrefab.AddModule(EVA);
}
catch{}

try { PartLoader.getPartInfoByName("kerbalEVAfemale").partPrefab.AddModule(EVA);
}
catch {}
}
}
try
{

PartLoader.getPartInfoByName("kerbalEVAVintage").partPrefab.AddModule(EVA);
}
catch { }

try
{
PartLoader.getPartInfoByName("kerbalEVAfemaleVintage").partPrefab.AddModule(EVA);
}
catch { }


}
}

}
2 changes: 1 addition & 1 deletion HullcamVDSContinued.version
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"MAJOR": 0,
"MINOR": 1,
"PATCH": 9,
"BUILD": 6
"BUILD": 7
},
"KSP_VERSION": {
"MAJOR": 1,
Expand Down
3 changes: 2 additions & 1 deletion deploy.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ set GAMEDATA="GameData\"
set VERSIONFILE=%GAMEDIR%.version

copy /Y "%1%2" "%GAMEDATA%\%GAMEDIR%\Plugins"
copy /Y %VERSIONFILE% %GAMEDATA%\%GAMEDIR%
copy /Y HullcamVDSContinued.version %GAMEDATA%\%GAMEDIR%

xcopy /y /s /I %GAMEDATA%\%GAMEDIR% "%H%\GameData\%GAMEDIR%"

pause

0 comments on commit f989f2d

Please sign in to comment.