summaryrefslogtreecommitdiff
path: root/durt/nodes
diff options
context:
space:
mode:
authorautocommitter <autocommitter@linux-forks.de>2024-04-22 14:52:48 +0200
committerautocommitter <autocommitter@linux-forks.de>2024-04-22 14:52:48 +0200
commiteeec3d8d41e0e50a6c07502b55fe0a7c4fb305ed (patch)
treeaf0d6476eb7fcf739d51f7a2b64da402c8b356b5 /durt/nodes
parentecb5a228217bad096118f022a8704f694953e17a (diff)
downloadluaatc_envs-eeec3d8d41e0e50a6c07502b55fe0a7c4fb305ed.tar.gz
luaatc_envs-eeec3d8d41e0e50a6c07502b55fe0a7c4fb305ed.tar.bz2
luaatc_envs-eeec3d8d41e0e50a6c07502b55fe0a7c4fb305ed.zip
State at 2021-04-24
Diffstat (limited to 'durt/nodes')
-rw-r--r--durt/nodes/(1907,9,9129).lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/durt/nodes/(1907,9,9129).lua b/durt/nodes/(1907,9,9129).lua
index df71eee..e4e4500 100644
--- a/durt/nodes/(1907,9,9129).lua
+++ b/durt/nodes/(1907,9,9129).lua
@@ -1,2 +1,3 @@
-local yard_id = "WOA" if event.schedule then local now = rwt.now() local last = S.yards[yard_id].last_pass1 local dtime = rwt.diff(last,now) local rtt = rwt.diff(S.yards[yard_id].last_pass2,last) digiline_send("lcd",string.format("Now: %s |Last Pass: %s |ID: %s Delta: %s |TBT: %s ",rwt.to_string(now),rwt.to_string(last),S.yards.WOA.last_id,rwt.to_string(dtime),rwt.to_string(rtt))) schedule(rwt.next_rpt(rwt.now(), "0;05", 0)) end if event.punch then schedule(rwt.next_rpt(rwt.now(), "0;05", 0))
+local yard_id = "WOA" if event.schedule then local now = rwt.now() local last = S.yards[yard_id].last_pass1 local dtime = rwt.diff(last,now) local rtt = rwt.diff(S.yards[yard_id].last_pass2,last) digiline_send("lcd",string.format("Now: %s |Last Pass: %s |ID: %s Delta: %s |TBT: %s ",rwt.to_string(now),rwt.to_string(last),S.yards.WOA.last_id,rwt.to_string(dtime),rwt.to_string(rtt))) schedule(rwt.next_rpt(rwt.now(), "0;05", 0)) end if event.punch then
+ schedule(rwt.next_rpt(rwt.now(), "0;05", 0))
if S.WOA_stats == true then S.WOA_stats = false end end \ No newline at end of file