From 5c484ff9d65fe94085f7fa4d67b8c23ed475d4fa Mon Sep 17 00:00:00 2001 From: Mike Date: Thu, 16 Jan 2014 15:30:33 -0600 Subject: [PATCH] Script properly updates play date, not build date Also fixed comments referring to build date. --- source/masterserver/scripts/desktop_notifications.js | 6 +++--- source/masterserver/showServers.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/masterserver/scripts/desktop_notifications.js b/source/masterserver/scripts/desktop_notifications.js index bd0ec704..c69afc54 100644 --- a/source/masterserver/scripts/desktop_notifications.js +++ b/source/masterserver/scripts/desktop_notifications.js @@ -111,7 +111,7 @@ function timedRequest() " IPv4 address\n" + " Game protocol port\n" + " Platform\n" + - " Build date\n" + + " Play date\n" + "\n"; // Loop through all json objects @@ -215,8 +215,8 @@ function timedRequest() /// Platform table += "" + escapeHtml(jsonText[i].platform) + ""; - /// Binary compilation date - table += "" + escapeHtml(jsonText[i].binaryCompileDate) + ""; + /// Play date + table += "" + escapeHtml(jsonText[i].lasttime) + ""; table += ""; diff --git a/source/masterserver/showServers.php b/source/masterserver/showServers.php index d924b3d2..7c712800 100644 --- a/source/masterserver/showServers.php +++ b/source/masterserver/showServers.php @@ -184,7 +184,7 @@ // platform printf( "\t\t\t\t%s%s", htmlspecialchars( $server['platform'], ENT_QUOTES ), PHP_EOL ); - // binaryCompileDate + // game play time printf( "\t\t\t\t%s%s", htmlspecialchars( $server['lasttime'], ENT_QUOTES ), PHP_EOL ); echo "\t\t\t" . '' . PHP_EOL;