Change HUD money colour to white (will add more to HUD)
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
|
|
||||||
let customHUDMoneyFont = null;
|
let customHUDMoneyFont = null;
|
||||||
let customHUDMoneyColour = toColour(200, 200, 200, 200);
|
let customHUDMoneyColour = toColour(255, 255, 255, 255);
|
||||||
let customHUDMoneySize = 22.0;
|
let customHUDMoneySize = 22.0;
|
||||||
|
|
||||||
// ===========================================================================
|
// ===========================================================================
|
||||||
@@ -33,6 +33,7 @@ function processCustomHUDRendering() {
|
|||||||
let text = getCurrencyString(localPlayerMoney);
|
let text = getCurrencyString(localPlayerMoney);
|
||||||
logToConsole(LOG_VERBOSE, `[V.RP.HUD]: Rendering custom HUD money (${text})...`);
|
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);
|
customHUDMoneyFont.render(text, [game.width - 150, 20], 130, 1.0, 0.0, customHUDMoneyFont.size, customHUDMoneyColour, true, true, false, true);
|
||||||
|
graphics.drawRectangle()
|
||||||
} else {
|
} else {
|
||||||
logToConsole(LOG_VERBOSE | LOG_ERROR, `[V.RP.HUD]: Rendering custom HUD money FAILED. Font object is null!`);
|
logToConsole(LOG_VERBOSE | LOG_ERROR, `[V.RP.HUD]: Rendering custom HUD money FAILED. Font object is null!`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user