From f561dd0c34a482c2d7e49eeccda8183f841ad787 Mon Sep 17 00:00:00 2001 From: renzuzu <82306584+renzuzu@users.noreply.github.com> Date: Thu, 12 Aug 2021 18:25:51 +0800 Subject: [PATCH] fix(RPUI): hunger and status --- renzu_hud/ui/index.html | 4 ++-- renzu_hud/ui/js/demo.js | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/renzu_hud/ui/index.html b/renzu_hud/ui/index.html index a1f5be0a..0c9b7774 100644 --- a/renzu_hud/ui/index.html +++ b/renzu_hud/ui/index.html @@ -168,12 +168,12 @@
- +
- +
diff --git a/renzu_hud/ui/js/demo.js b/renzu_hud/ui/js/demo.js index 3ca9e097..797640b5 100644 --- a/renzu_hud/ui/js/demo.js +++ b/renzu_hud/ui/js/demo.js @@ -2047,7 +2047,9 @@ function SetNotify(table) { function SetMetrics(v) { metrics = v - document.getElementById("speedtext").innerHTML = v; + if (document.getElementById("speedtext")) { + document.getElementById("speedtext").innerHTML = v; + } } //FUNCTIONS