summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 08fc7a56..82620c05 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -607,6 +607,10 @@ int main(int argc, char *argv[])
{
case UPDATE_STATE:
loadUpdates();
+ // Reload the wallpaper in case that it was updated
+ login_wallpaper->decRef();
+ login_wallpaper = ResourceManager::getInstance()->
+ getImage("graphics/images/login_wallpaper.png");
break;
// Those states don't cause a network disconnect