fix(nui/js): Use the percent value already being sent by Lua

This commit is contained in:
Linden
2021-06-04 12:59:15 +10:00
committed by GitHub
parent 5a8e750287
commit 98687c3b38
+2 -2
View File
@@ -25,7 +25,7 @@
statusDiv.find('.status_val')
.css({
'background-color': status[i].color,
'width': (status[i].val / 10000) + '%'
'width': (status[i].percent) + '%'
})
;
@@ -56,4 +56,4 @@
});
};
})();
})();