Add 2 variables to track how long we have been motoring away from a gate that is too close (and activate the gate anyway if its taking too long) and the same for the "Gate Activation" timer, if we are in range of the gate for over 30 ticks it resets the timer (so we do not spam the gate, and activates the gate anyway).