summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 50ae193b..5776341b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1470,8 +1470,7 @@ int main(int argc, char *argv[])
game = new Game;
game->logic();
delete game;
- if (state != STATE_ERROR)
- state = STATE_EXIT;
+ state = STATE_EXIT;
break;
case STATE_UPDATE: