Skip to content

Commit

Permalink
better naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Longi94 committed Oct 19, 2019
1 parent 4396ec4 commit b44387e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function getAssetUrl(path: string, rocketConfig: RocketConfig): string {
}
if (path.startsWith('textures/') && path.endsWith('.tga')) {
if (rocketConfig.textureQuality == TextureQuality.LOW) {
path = path.replace('.tga', '_small.tga');
path = path.replace('.tga', '_S.tga');
}
if (rocketConfig.textureFormat == TextureFormat.PNG) {
path = path.replace('.tga', '.png');
Expand Down

0 comments on commit b44387e

Please sign in to comment.