summaryrefslogtreecommitdiff
path: root/src/gui/game/GameController.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-06-07 23:32:38 (GMT)
committer jacob1 <jfu614@gmail.com>2013-06-07 23:32:38 (GMT)
commit1d00e712ad08c363adb554aa27687794917ecad2 (patch)
tree25a158ec950d86871a466785aa50ef2f6894aeb6 /src/gui/game/GameController.cpp
parent58f8451b9ecb407b45f4beefeb63174fa5e8df02 (diff)
downloadpowder-1d00e712ad08c363adb554aa27687794917ecad2.zip
powder-1d00e712ad08c363adb554aa27687794917ecad2.tar.gz
save publishing info in the save upload ui
also fix the other crash when exiting the game from inside of one of these windows, because first Client::Shutdown would delete all active requests and only later ~Engine would delete _state, which delets the ServerSaveActivity window, which tries to close the active render request
Diffstat (limited to 'src/gui/game/GameController.cpp')
-rw-r--r--src/gui/game/GameController.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/game/GameController.cpp b/src/gui/game/GameController.cpp
index 97a81c5..6ae9ae2 100644
--- a/src/gui/game/GameController.cpp
+++ b/src/gui/game/GameController.cpp
@@ -219,7 +219,7 @@ GameController::~GameController()
delete *iter;
}
delete gameModel;
- if(ui::Engine::Ref().GetWindow() == gameView)
+ if (ui::Engine::Ref().GetWindow() == gameView)
{
ui::Engine::Ref().CloseWindow();
delete gameView;