Fixed color scheme setting not applying to active piece

pull/54/head
Ishaan Bhardwaj 2021-12-18 21:30:19 -05:00
parent d4360b3662
commit d46973f12d
1 changed files with 1 additions and 1 deletions

View File

@ -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