diff options
author | cheapie <no-email-for-you@example.com> | 2016-01-18 23:04:49 -0600 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2016-01-18 23:04:49 -0600 |
commit | f20ede676f55d4849af1b79b093b2d674be8060e (patch) | |
tree | 4015040cb35f049f229dd816bf6066c92d4838c8 | |
parent | 6c61ce1378f3f7be3c2ca084d3c7eb908b6fd20b (diff) | |
download | roads-f20ede676f55d4849af1b79b093b2d674be8060e.tar roads-f20ede676f55d4849af1b79b093b2d674be8060e.tar.gz roads-f20ede676f55d4849af1b79b093b2d674be8060e.tar.bz2 roads-f20ede676f55d4849af1b79b093b2d674be8060e.tar.xz roads-f20ede676f55d4849af1b79b093b2d674be8060e.zip |
Adjust traffic light flash speed
1.5s period is unacceptable per MUTCD section 4D.28 paragraph 1 - must be 1-1.2s
-rw-r--r-- | trafficlight/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/trafficlight/init.lua b/trafficlight/init.lua index 38b18c4..6c8e6ad 100644 --- a/trafficlight/init.lua +++ b/trafficlight/init.lua @@ -286,7 +286,7 @@ for _,i in pairs({"","_left","_right"}) do drawtype = "nodebox", tiles = {"streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png",{ name="streets_tl"..i.."_warn.png", - animation={type="vertical_frames", aspect_w=64, aspect_h=64, length=1.5}, + animation={type="vertical_frames", aspect_w=64, aspect_h=64, length=1.2}, }}, node_box = { type = "fixed", @@ -312,7 +312,7 @@ for _,i in pairs({"","_left","_right"}) do drawtype = "nodebox", tiles = {"streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png","streets_tl_bg.png",{ name="streets_tl"..i.."_flashred.png", - animation={type="vertical_frames", aspect_w=64, aspect_h=64, length=1.5}, + animation={type="vertical_frames", aspect_w=64, aspect_h=64, length=1.2}, }}, node_box = { type = "fixed", |