forked from RemoteTechnologiesGroup/RemoteTech
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Connection information is cached in a SignalRoutes object, which loads and saves from the persistent.sfs and quicksave.sfs files.
- Loading branch information
Showing
9 changed files
with
374 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,14 +24,16 @@ public bool InputAllowed | |
{ | ||
var satellite = RTCore.Instance.Network[SignalProcessor.Guid]; | ||
var connection = RTCore.Instance.Network[satellite]; | ||
return (satellite != null && satellite.HasLocalControl) || (SignalProcessor.Powered && connection.Any()); | ||
return (satellite != null && satellite.HasLocalControl) || (SignalProcessor.Powered && connection.Any()) || CheatOptions.InfiniteFuel; | ||
} | ||
} | ||
|
||
public double Delay | ||
{ | ||
get | ||
{ | ||
if (CheatOptions.InfiniteFuel) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
bk2w
Author
Owner
|
||
return 0.0; | ||
var satellite = RTCore.Instance.Network[SignalProcessor.Guid]; | ||
if (satellite != null && satellite.HasLocalControl) return 0.0; | ||
var connection = RTCore.Instance.Network[satellite]; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Infinite EVA fuel was chosen for the line of sight hack because it has no side effects while a vessel is active. Maybe it's better to use it here, too?