EvilDragon
KSP Wizard
OK so you're doing that on each and every listener tick, which is not necessary. It should only update those values if the tempo actually changed, and the way to do this is to use $DURATION_QUARTER, store its value to a variable, then test against it.
And don't do message("") in LCB. That's just uncool.
Code:
on listener
if DURATION_QUARTER # prev_quarter
<your whole LCB>
prev_quarter := DURATION_QUARTER
end if
end on
And don't do message("") in LCB. That's just uncool.