aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-08-02 08:58:31 -0400
committerMichael <[email protected]>2017-08-02 08:58:31 -0400
commit52319b29eef65560a737353a71e1e4017dc87c09 (patch)
tree288103571e3f699b050a28b37be9a48861ed2ffb /ShiftOS_TheReturn
parentc832b7830853c33bed586e89ddae261200bb526e (diff)
downloadshiftos_thereturn-52319b29eef65560a737353a71e1e4017dc87c09.tar.gz
shiftos_thereturn-52319b29eef65560a737353a71e1e4017dc87c09.tar.bz2
shiftos_thereturn-52319b29eef65560a737353a71e1e4017dc87c09.zip
screen fades to red as connection timer goes down
Diffstat (limited to 'ShiftOS_TheReturn')
-rw-r--r--ShiftOS_TheReturn/Hacking.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/Hacking.cs b/ShiftOS_TheReturn/Hacking.cs
index 8412203..5c473df 100644
--- a/ShiftOS_TheReturn/Hacking.cs
+++ b/ShiftOS_TheReturn/Hacking.cs
@@ -96,6 +96,7 @@ namespace ShiftOS.Engine
{
hsys.MillisecondsCountdown = 0;
}
+ hsys.TotalConnectionTimeMS = (int)hsys.MillisecondsCountdown;
hsys.PortsToUnlock = new List<Objects.Port>();
hsys.VectorsUnlocked = new List<Objects.SystemType>();
hsys.PayloadExecuted = new List<Objects.Payload>();
@@ -215,6 +216,7 @@ namespace ShiftOS.Engine
public class HackableSystem
{
+ public int TotalConnectionTimeMS { get; set; }
public Objects.Hackable Data { get; set; }
public List<Objects.Port> PortsToUnlock { get; set; }
public List<Objects.SystemType> VectorsUnlocked { get; set; }