diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2016-05-08 10:54:52 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2016-05-08 10:54:52 +0200 |
| commit | 0f018ef5600ec1082a6c21b81d6c8310371df983 (patch) | |
| tree | c1cdf97907ae2916315adaff2be096f109032270 /src/crsm.cpp | |
| parent | 6eadd30b19903d395867b6b487ce6a7a7541237b (diff) | |
| download | manager-0f018ef5600ec1082a6c21b81d6c8310371df983.tar.gz manager-0f018ef5600ec1082a6c21b81d6c8310371df983.zip | |
Fix message to pursuade clients to leave for host wish
Diffstat (limited to 'src/crsm.cpp')
| -rw-r--r-- | src/crsm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
