From 52319b29eef65560a737353a71e1e4017dc87c09 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 2 Aug 2017 08:58:31 -0400 Subject: screen fades to red as connection timer goes down --- ShiftOS_TheReturn/Hacking.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ShiftOS_TheReturn') 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(); hsys.VectorsUnlocked = new List(); hsys.PayloadExecuted = new List(); @@ -215,6 +216,7 @@ namespace ShiftOS.Engine public class HackableSystem { + public int TotalConnectionTimeMS { get; set; } public Objects.Hackable Data { get; set; } public List PortsToUnlock { get; set; } public List VectorsUnlocked { get; set; } -- cgit v1.2.3