From 0f018ef5600ec1082a6c21b81d6c8310371df983 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Sun, 8 May 2016 10:54:52 +0200 Subject: Fix message to pursuade clients to leave for host wish --- 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 bf46835..fbe3340 100644 --- a/src/crsm.cpp +++ b/src/crsm.cpp @@ -2360,7 +2360,7 @@ CMD_FUNCTION_IMPL(host) Stats.AddScenarioWish(client, scenarioFileName(scen.name)); respond(client, "Szenario " + scen.name + (scen.league ? " mit Liga" : "") + " " + (Session.State == CRSMSession::None || (Session.Clonk.Clients.size() == 0 && !Session.UserWish) ? "wird jetzt gehostet" : "wurde der Warteschlange hinzugefügt") + ".\n"); - if(userlist.length() == 1 && !Session.UserWish && !Session.Running && Session.State != CRSMSession::None && Session.Clonk.Clients.size() > 0) + if(userlist.length() == 1 && !Session.UserWish && Session.State == CRSMSession::Lobby && Session.Clonk.Clients.size() > 0) respond(client, "Überrede alle Spieler zu leaven und dein Wunsch wird sofort gehostet ;-)\n"); else if(Session.State == CRSMSession::None) { -- cgit v1.2.3-54-g00ecf