Skip to content

Commit

Permalink
fix: a slightly better temporary image hack
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtIeSocks committed Sep 4, 2024
1 parent 9f7532f commit fd2e7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/Assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ export class UAssets {
getStation(active = false) {
try {
// TODO: replace with lib method when it has been updated
return `${this[this.selected.station]?.path}/station/${active ? 1 : 0}.webp`
return `${this.fallback}/station/${active ? 1 : 0}.${this.fallbackExt}`
} catch (e) {
console.error(`[${this.assetType.toUpperCase()}]`, e)
return `${this.fallback}/station/0.${this.fallbackExt}`
Expand Down

0 comments on commit fd2e7c4

Please # to comment.