This mod modifies the behavior of railroad crossings.
Now the alarm will turn on earlier, but the barriers will not close immediately. They will close after a short delay to ensure a safe exit from the crossing without getting stuck. They will open as soon as the train leaves the crossing.