From 36f02bcb218babb848dadd5e66ff7f32a98274d2 Mon Sep 17 00:00:00 2001 From: Nander Voortman Date: Tue, 24 Apr 2018 01:14:39 +0200 Subject: [PATCH] Fix color filter. --- scripts/rendering/renderCard.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/rendering/renderCard.lua b/scripts/rendering/renderCard.lua index e61e65e..147b547 100644 --- a/scripts/rendering/renderCard.lua +++ b/scripts/rendering/renderCard.lua @@ -19,7 +19,7 @@ R.renderEventCard = function(card, x, y, scale, building) --named card for copy- love.graphics.push() love.graphics.scale(scale) - love.graphics.setColor(0.8, 0.8, 0.8) + love.graphics.setColor(1,1,1) love.graphics.draw(ICONS["eventCard"].image, x / scale, y / scale, 0) love.graphics.setColor(0, 0, 0) @@ -77,7 +77,7 @@ R.cardBack = function(card, x, y, scale, building) --named card for copy-paste r love.graphics.push() love.graphics.scale(scale) - love.graphics.setColor(0.8, 0.8, 0.8) + love.graphics.setColor(1,1,1) love.graphics.draw(ICONS["backCard"].image, x / scale, y / scale, 0) love.graphics.setColor(1, 1, 1) @@ -91,7 +91,7 @@ R.renderBuilding = function(card, x, y, scale, building) --named card for copy-p love.graphics.push() love.graphics.scale(scale) - love.graphics.setColor(0.8, 0.8, 0.8) + love.graphics.setColor(1,1,1) love.graphics.draw(ICONS["buildingHover"].image, x / scale, y / scale, 0) love.graphics.setColor(0, 0, 0) @@ -171,7 +171,7 @@ R.renderBuildingCard = function(card, x, y, scale, building) love.graphics.push() love.graphics.scale(scale) - love.graphics.setColor(0.8, 0.8, 0.8) + love.graphics.setColor(1,1,1) love.graphics.draw(ICONS["buildingCard"].image, x / scale, y / scale, 0) love.graphics.setColor(0, 0, 0)