From 80f3c30a3ff76d68aaf8ae65c1438170539c4c4b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 4 Apr 2014 20:13:56 +0300 Subject: Add steam link in news page for player who run game more than 10 times. --- src/gui/windows/updaterwindow.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp index cd0e7e0d8..80275325a 100644 --- a/src/gui/windows/updaterwindow.cpp +++ b/src/gui/windows/updaterwindow.cpp @@ -407,6 +407,14 @@ void UpdaterWindow::loadPatch() "##6ManaPlus %s##0", line), true); } } + if (!serverVersion && config.getIntValue("runcount") > 10) + { + mBrowserBox->addRow("", true); + mBrowserBox->addRow("", true); + mBrowserBox->addRow(" ##1[@@http://steamcommunity.com/" + "sharedfiles/filedetails/?id=232178669|" + "Vote for us on Steam Green Light@@]", true); + } if (version > CHECK_VERSION) { #if defined(ANDROID) -- cgit v1.2.3-70-g09d2