Change HUD money colour to white (will add more to HUD)

This commit is contained in:
Vortrex
2023-02-21 19:49:13 -06:00
parent 9c16ceeb3a
commit d8dde07845

View File

@@ -8,7 +8,7 @@
// ===========================================================================
let customHUDMoneyFont = null;
let customHUDMoneyColour = toColour(200, 200, 200, 200);
let customHUDMoneyColour = toColour(255, 255, 255, 255);
let customHUDMoneySize = 22.0;
// ===========================================================================
@@ -33,6 +33,7 @@ function processCustomHUDRendering() {
let text = getCurrencyString(localPlayerMoney);
logToConsole(LOG_VERBOSE, `[V.RP.HUD]: Rendering custom HUD money (${text})...`);
customHUDMoneyFont.render(text, [game.width - 150, 20], 130, 1.0, 0.0, customHUDMoneyFont.size, customHUDMoneyColour, true, true, false, true);
graphics.drawRectangle()
} else {
logToConsole(LOG_VERBOSE | LOG_ERROR, `[V.RP.HUD]: Rendering custom HUD money FAILED. Font object is null!`);
}