1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00

Update colors.js

Fixed black + white = gray instead of white
This commit is contained in:
MrYawnie 2020-07-07 18:40:48 +10:00 committed by GitHub
parent f69caa9f1a
commit e2d22e7386
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,6 +155,9 @@ for (const color in enumColors) {
// Anything with white is white again
enumColorMixingResults[color][c.white] = c.white;
// Black mixed with white is gray
enumColorMixingResults[c.black][c.white] = c.uncolored;
// Anything with uncolored is the same color
enumColorMixingResults[color][c.uncolored] = color;