Fixed color scheme setting not applying to active piece
parent
d4360b3662
commit
d46973f12d
|
@ -209,7 +209,7 @@ function Ruleset:initializePiece(
|
||||||
|
|
||||||
local colours
|
local colours
|
||||||
if table.equalvalues(
|
if table.equalvalues(
|
||||||
self.colourscheme, {"I", "J", "L", "O", "S", "T", "Z"}
|
table.keys(self.colourscheme), {"I", "J", "L", "O", "S", "T", "Z"}
|
||||||
) then
|
) then
|
||||||
colours = ({self.colourscheme, ColourSchemes.Arika, ColourSchemes.TTC})[config.gamesettings.piece_colour]
|
colours = ({self.colourscheme, ColourSchemes.Arika, ColourSchemes.TTC})[config.gamesettings.piece_colour]
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue