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, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b8ffa970..734af6dd 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -407,7 +407,7 @@ int main(int argc, char *argv[])
SDL_Event event;
- if (options.skipUpdate && state != ERROR)
+ if (options.skipUpdate && state != ERROR_STATE)
{
state = LOGIN_STATE;
}
@@ -495,7 +495,7 @@ int main(int argc, char *argv[])
game();
}
catch (const char* err) {
- state = ERROR;
+ state = ERROR_STATE;
new OkDialog("Error", err, &mapStartErrorListener);
}
break;