mirror of
https://github.com/mon/BemaniPatcher.git
synced 2026-11-30 02:36:42 -08:00
Don't compute percent if we already know it's 100
This commit is contained in:
1 parent
176fa72e5f
commit
87c5c02bbc
1 file changed
+1
-2
+1
-2
@@ -320,8 +320,7 @@ class PatchContainer {
|
||||
loadPatch(this, self, patcher);
|
||||
// show patches matched for 100% - helps identify which version is loaded
|
||||
var valid = patcher.validPatches;
|
||||
var percent = (valid / patcher.totalPatches * 100).toFixed(1);
|
||||
self.matchSuccessText[i].text(' ' + valid + ' of ' + patcher.totalPatches + ' patches matched (' + percent + '%) ');
|
||||
self.matchSuccessText[i].text(' ' + valid + ' of ' + valid + ' patches matched (100%) ');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user