]> git.sesse.net Git - pkanalytics/commitdiff
Do not output a warning for disc transfer during subs; it is not an error.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 23 Jul 2023 18:06:14 +0000 (20:06 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 23 Jul 2023 18:06:14 +0000 (20:06 +0200)
ultimate.js

index d327ed5ad6008c220aa5185efb24941e7582f91d..2b483e225a68039c41023474d31a88f1122cbb06 100644 (file)
@@ -499,7 +499,6 @@ function process_matches(json, filters) {
                        if (type === 'catch' && handler !== null && players[handler].on_field_since === null) {
                                // The handler subbed out and was replaced with another handler,
                                // so this wasn't a pass.
-                               console.log(match['description'] + ' ' + format_time(t) + ': Disc came from subbed-out player ' + players[handler].name + '; not counting a pass.');
                                handler = null;
                        }