Gauge logic

This commit is contained in:
2025-02-03 00:13:44 +01:00
parent 3af799d18e
commit 5599c3d1bd
13 changed files with 317 additions and 141 deletions
@@ -93,10 +93,7 @@ class EFBUtils {
const _0x53c20f = _0x7997e1['query' + 'Selec' + 'tor']('weights > payload');
/* KHOFMANN START */
const plan = _0x7997e1['query' + 'Selec' + 'tor']('text > plan_html');
const tlr = _0x7997e1['query' + 'Selec' + 'tor']('text > tlr_section');
window.localStorage.setItem('KH_FE_FPLAN_PLAN', JSON.stringify(plan.innerHTML));
window.localStorage.setItem('KH_FE_FPLAN_TLR', JSON.stringify(tlr.innerHTML));
// This is only to allow the new gauges to auto fetch the plan
SimVar.SetSimVarValue('L:KH_FE_FPLAN_NEW_DATA', 'bool', 1);
/* KHOFMANN END */