Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/client/StarClientApplication.cpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2023-06-28 00:20:22 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2023-06-28 00:20:22 +1000
commit152af876550ec63bac9d7aa27b1994268c80f878 (patch)
treeec1ca9b7f013252505ad719990900a64cc3afc35 /source/client/StarClientApplication.cpp
parent2496789ea7632556486560f80590d5ba7f8da0f5 (diff)
Fix broken regex, make game timestep non-const
Diffstat (limited to 'source/client/StarClientApplication.cpp')
-rw-r--r--source/client/StarClientApplication.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/client/StarClientApplication.cpp b/source/client/StarClientApplication.cpp
index f347cd5..3c2cc80 100644
--- a/source/client/StarClientApplication.cpp
+++ b/source/client/StarClientApplication.cpp
@@ -558,6 +558,7 @@ void ClientApplication::setError(String const& error) {
void ClientApplication::setError(String const& error, std::exception const& e) {
Logger::error("{}\n{}", error, outputException(e, true));
m_errorScreen->setMessage(strf("{}\n{}", error, outputException(e, false)));
+ changeState(MainAppState::Title);
}
void ClientApplication::updateMods() {