Midi changed the player colors
This commit is contained in:
@@ -161,6 +161,12 @@ Color = {
|
||||
};
|
||||
-- Remapped Color Module, since some themes are crazy
|
||||
Colors = Color;
|
||||
|
||||
local PlayerColors = {
|
||||
PLAYER_1 = color("#ef403d"),
|
||||
PLAYER_2 = color("#0089cf"),
|
||||
};
|
||||
|
||||
local DifficultyColors = {
|
||||
--[[ These are for 'Custom' Difficulty Ranks. It can be very useful
|
||||
in some cases, especially to apply new colors for stuff you
|
||||
@@ -234,13 +240,13 @@ function ColorDarkTone(c)
|
||||
end;
|
||||
|
||||
function PlayerColor( pn )
|
||||
if pn == PLAYER_1 then return Colors.Player['P1'] end -- pink-red
|
||||
if pn == PLAYER_2 then return Colors.Player['P2'] end -- sea-blue
|
||||
if pn == PLAYER_1 then return color("#ef403d") end -- pink-red
|
||||
if pn == PLAYER_2 then return color("#0089cf") end -- sea-blue
|
||||
return color("1,1,1,1")
|
||||
end
|
||||
function PlayerScoreColor( pn )
|
||||
if pn == PLAYER_1 then return Colors.Player['P1'] end -- pink-red
|
||||
if pn == PLAYER_2 then return Colors.Player['P2'] end -- sea-blue
|
||||
if pn == PLAYER_1 then return color("#ef403d") end -- pink-red
|
||||
if pn == PLAYER_2 then return color("#0089cf") end -- sea-blue
|
||||
return color("1,1,1,1")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user