Skip to content

Commit

Permalink
fix staging on spawned vessel
Browse files Browse the repository at this point in the history
  • Loading branch information
BahamutoD committed Apr 25, 2016
1 parent 0554401 commit 3030eb5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions VesselSpawn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using KSP.UI.Screens;


namespace VesselMover
Expand Down Expand Up @@ -378,6 +379,7 @@ void SpawnVessel(VesselData vesselData)

crewMember.gender = UnityEngine.Random.Range(0,100) > 50 ? ProtoCrewMember.Gender.Female : ProtoCrewMember.Gender.Male;


/*
if (cd.name != null)
{
Expand Down Expand Up @@ -685,8 +687,8 @@ IEnumerator PlaceSpawnedVessel(Vessel v, bool moveVessel)
v.situation = Vessel.Situations.PRELAUNCH;
v.GoOffRails();

Staging.beginFlight();

//Staging.beginFlight();
StageManager.BeginFlight();

if(moveVessel)
{
Expand Down
Binary file modified bin/Release/VesselMover.dll
Binary file not shown.

0 comments on commit 3030eb5

Please sign in to comment.