Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/mainwindow.cc')
-rw-r--r--src/client/mainwindow.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/mainwindow.cc b/src/client/mainwindow.cc
index 66244de..2f3f66a 100644
--- a/src/client/mainwindow.cc
+++ b/src/client/mainwindow.cc
@@ -124,6 +124,9 @@ void MainWindow::draw()
mainwindow_gamewindow->hide();
mainwindow_mainmenu->show();
+ } else if (core::localcontrol()->state() == core::Entity::Destroyed) {
+ mainwindow_mainmenu->show_menu("respawn");
+
} else if (mainwindow_gamewindow->hidden()) {
mainwindow_gamewindow->show();
}