Skip to content

Commit 0c3d97e

Browse files
author
Warren Seymour
committed
Yep, looks like per-frame caching will have to go for now
1 parent 51bab7e commit 0c3d97e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/RemoteTech2/VesselSatellite.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@ public bool IsCommandStation {
4141
public ISignalProcessor SignalProcessor
4242
{
4343
get {
44-
return RTUtil.CachePerFrame(ref mSignalProcessor, () =>
45-
{
46-
return SignalProcessors.FirstOrDefault(s => s.FlightComputer != null) ?? SignalProcessors[0];
47-
});
44+
return SignalProcessors.FirstOrDefault(s => s.FlightComputer != null) ?? SignalProcessors[0];
4845
}
4946
}
5047

0 commit comments

Comments
 (0)