diff --git a/public/javascript/user.js b/public/javascript/user.js index cd97a93..8fc4f8a 100644 --- a/public/javascript/user.js +++ b/public/javascript/user.js @@ -158,7 +158,7 @@ request.onload = function () { const userTitle = document.getElementById('user-title-text'); var userTitleText = "" for (title of data) { - if (userdata.title_id === title.titleId) { + if (userdata.title_id === title.InGameID) { userTitleText = title.name break }