summaryrefslogtreecommitdiff
path: root/src/client/Client.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2012-11-18 17:43:11 (GMT)
committer jacob1 <jfu614@gmail.com>2012-11-18 17:43:11 (GMT)
commit4654a2aaa0c7a48583ec3e1b2b3d1c0923afc0cd (patch)
treec5cf4c23b8302c6ea264f1549b81a6c176c591f3 /src/client/Client.cpp
parent0be465aa4e658a75cad201b0f6f32b20acea9c9f (diff)
downloadpowder-4654a2aaa0c7a48583ec3e1b2b3d1c0923afc0cd.zip
powder-4654a2aaa0c7a48583ec3e1b2b3d1c0923afc0cd.tar.gz
update build number, which was incorrect. Add an easy way for mods to ignore updates
Diffstat (limited to 'src/client/Client.cpp')
-rw-r--r--src/client/Client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/Client.cpp b/src/client/Client.cpp
index 763814a..99c6b5b 100644
--- a/src/client/Client.cpp
+++ b/src/client/Client.cpp
@@ -623,10 +623,12 @@ void Client::Tick()
}
#endif
+#ifndef IGNORE_UPDATES
if(updateAvailable)
{
notifyUpdateAvailable();
}
+#endif
}
catch (json::Exception &e)
{