From f1ca03d56693e9ae8c6a78b6e538ff46b8b70e54 Mon Sep 17 00:00:00 2001 From: Ac_K Date: Fri, 18 Dec 2020 04:01:49 +0100 Subject: [PATCH] Add game version to the API/Website --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 1ffbe07..3a45810 100644 --- a/main.js +++ b/main.js @@ -16,7 +16,7 @@ $(document).ready(function() { $.getJSON("/api/public_games", function(data) { $.each(data, function() { - $(".public-games").append('
' + this.game_name + ' ' + this.title_id + '
' + $(".public-games").append('
' + this.game_name + ' ' + this.title_id + ' v' + this.title_version + '
' + '
' + this.player_count + '/' + this.max_player_count + ' Players
' + '
' + this.players.map(player => encode(player)).join(', ') + '
');