Skip to content

Commit

Permalink
Fix color filter.
Browse files Browse the repository at this point in the history
  • Loading branch information
nanderv committed Apr 23, 2018
1 parent c917ee6 commit 36f02bc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/rendering/renderCard.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 36f02bc

Please sign in to comment.