From c8139e9abc93bec7a0bee5c1057beab9175f2a16 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Fri, 22 Apr 2016 13:23:31 +0200 Subject: Only change state to loading when the current state was lobby (Downhill Race caused the state to change to loading because of a Log("Los geht's!")) --- src/crsm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crsm.cpp') diff --git a/src/crsm.cpp b/src/crsm.cpp index ee307d8..a4618a8 100644 --- a/src/crsm.cpp +++ b/src/crsm.cpp @@ -211,7 +211,7 @@ void CRSM::readServerOutput() } static QRegExp lobbyStartExp(R"((?:Los geht's!|Action go!)\s*)"); - if(lobbyStartExp.exactMatch(what)) + if(lobbyStartExp.exactMatch(what) && Session.State == CRSMSession::Lobby) { Session.State = CRSMSession::Loading; ircSetIngameChannelTopic(); -- cgit v1.2.3-54-g00ecf