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