Skip to content

Commit

Permalink
Merge branch 'alternate-duplication-bug-fix' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Warren Seymour committed Jun 4, 2014
2 parents a7e0fe8 + 0c3d97e commit 2a1cea2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/RemoteTech2/SatelliteManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,9 @@ public void RegisterProto(Vessel vessel)
Guid key = vessel.protoVessel.vesselID;
RTLog.Notify("SatelliteManager: RegisterProto({0}, {1})", vessel.vesselName, key);
// Return if there are still signal processors loaded.
if (mLoadedSpuCache.ContainsKey(vessel.id))
return;
if (mLoadedSpuCache.ContainsKey(vessel.id)) {
mLoadedSpuCache.Remove(vessel.id);
}

ISignalProcessor spu = vessel.GetSignalProcessor();
if (spu != null)
Expand Down

0 comments on commit 2a1cea2

Please sign in to comment.