From 2f18316917828996868aae1db827ee8531a3bce0 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Tue, 30 May 2017 19:19:17 +0200 Subject: Add Clonk.Server.JoinStopCountDown --- src/crsm.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/crsm.cpp') diff --git a/src/crsm.cpp b/src/crsm.cpp index 3a79023..22c8908 100644 --- a/src/crsm.cpp +++ b/src/crsm.cpp @@ -299,6 +299,10 @@ void CRSM::clientConnected(const ClientInfo& client) { sendIrcMessage("[Clonk] " + client.toString() + " verbunden.", Config.IRC.IngameChannel, false, false); } + if(Session.CountDown != -1 && Session.CountDown <= Config.Clonk.Server.JoinStopCountDown) + { + control.abortCountdown(); + } } void CRSM::clientRemoved(const ClientInfo& client, const QString& reason) -- cgit v1.2.3-54-g00ecf