diff --git a/app/static/script.js b/app/static/script.js
index 70cbff2..98b445e 100644
--- a/app/static/script.js
+++ b/app/static/script.js
@@ -245,7 +245,7 @@ function teamRow(game, side, state) {
const sogHtml = (state === 'live' || state === 'final') && sog !== undefined
? `${sog} SOG` : '';
const ppHtml = state === 'live' && pp
- ? teamPpIndicator(pp, game['Intermission'])
+ ? teamPpIndicator(pp, game['Time Running'])
: '';
const subParts = [sogHtml, ppHtml].filter(Boolean).join('');
@@ -266,9 +266,9 @@ function teamRow(game, side, state) {
`;
}
-function teamPpIndicator(pp, intermission) {
+function teamPpIndicator(pp, running) {
const timeStr = pp.replace('PP ', '');
- if (intermission) {
+ if (!running) {
return `PP ${timeStr}`;
}
const seconds = timeToSeconds(timeStr);