diff options
-rw-r--r-- | src/client/reputationwindow.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/reputationwindow.cc b/src/client/reputationwindow.cc index 08cbb19..e60b384 100644 --- a/src/client/reputationwindow.cc +++ b/src/client/reputationwindow.cc @@ -293,7 +293,7 @@ void ReputationWindow::set_info(const core::Info *info) void ReputationWindow::draw() { if (reputationwindow_reputation_timestamp != core::localplayer()->reputation().timestamp()) { - con_debug << " ^2ReputationWindow::draw() forced refresh" << std::endl; + // refresh window content refresh(); } else if (!reputationwindow_info) { @@ -301,9 +301,8 @@ void ReputationWindow::draw() set_info(0); } else if (reputationwindow_info_timestamp != reputationwindow_info->timestamp()) { - // update faction info if we received updates from the server + // update faction info set_info(reputationwindow_info); - } ui::Window::draw(); |