Swapped opacity and brightness for hold color

This commit is contained in:
Ishaan Bhardwaj 2021-01-15 16:00:15 -05:00
parent ea8d008370
commit ece853c9d3

View File

@ -561,7 +561,8 @@ function GameMode:setNextOpacity(i)
end end
function GameMode:setHoldOpacity() function GameMode:setHoldOpacity()
love.graphics.setColor(1, 1, 1, self.held and 0.6 or 1) local colour = self.held and 0.6 or 1
love.graphics.setColor(colour, colour, colour, 1)
end end
function GameMode:drawScoringInfo() function GameMode:drawScoringInfo()