summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorces92 <c_dev@online.de>2015-02-12 01:07:53 +0100
committerMarkus Holtermann <info@markusholtermann.eu>2015-02-12 11:42:11 +0100
commit352d32f044dbeb7b275a8f3cffc787e341792342 (patch)
treedeb3a95a5b3acf227ff6d87931ae7ea8e0c7614b
parent04fe4dbc6ec8d067fd9c4107fbea31ceecffe622 (diff)
downloadbvg-grabber-352d32f044dbeb7b275a8f3cffc787e341792342.tar.gz
bvg-grabber-352d32f044dbeb7b275a8f3cffc787e341792342.tar.bz2
bvg-grabber-352d32f044dbeb7b275a8f3cffc787e341792342.zip
Removed constraint excluding departures
Before departures that were further afar than 5 minutes or exceeded a limit of 7 were excluded from the infobeamer display Thanks ces92 for the patch.
-rw-r--r--scripts/info-beamer/node.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/info-beamer/node.lua b/scripts/info-beamer/node.lua
index ef27c0b..26f7eb5 100644
--- a/scripts/info-beamer/node.lua
+++ b/scripts/info-beamer/node.lua
@@ -35,7 +35,7 @@ function node.render()
j = 0
for k, departures in pairs(stations[2]) do
local remaining = math.floor(departures['remaining']/60)
- if remaining >= 5 and j < 8 then
+ if j < 9 then
j = j + 1
local timeString = string.format('%2d min', remaining)
font:write(WIDTH-440 + alignRight(remaining), i,