Fixes #2472: Off by when selecting texture for channels >= 5.

This commit is contained in:
Sebastian Hartte 2016-10-16 22:27:11 +02:00
parent eac94ac6b7
commit c427fa04a7

View file

@ -75,9 +75,9 @@ public class SmartCableTextures
{ {
return textures[5]; return textures[5];
} }
else if( channels <= 9 ) else if( channels <= 8 )
{ {
return textures[channels]; return textures[1 + channels];
} }
else else
{ {