Skip to content

Commit c382954

Browse files
committedFeb 29, 2024·
Teambuilder: Don't try to load resources when they're already cached
1 parent a22fca7 commit c382954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎play.pokemonshowdown.com/js/client-teambuilder.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181

182182
tryLoadFormatResource: function (format) {
183183
var teambuilder = this;
184-
if (teambuilder.formatResources[format] === true) { // already loading, bypass
184+
if (teambuilder.formatResources[format]) { // already loading, bypass
185185
return;
186186
}
187187
teambuilder.formatResources[format] = true; // true - loading, array - loaded

0 commit comments

Comments
 (0)
Please sign in to comment.