[iortcw] 143/152: All: Only send one flatline heartbeat on shutdown

Simon McVittie smcv at debian.org
Fri Sep 8 10:40:27 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to annotated tag 1.5a
in repository iortcw.

commit 67f1ddd57a17389ba3ab240a37a1d83efb4fabd8
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Sat Oct 22 19:03:06 2016 -0400

    All: Only send one flatline heartbeat on shutdown
---
 MP/code/server/sv_main.c | 4 ++--
 SP/code/server/sv_main.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/MP/code/server/sv_main.c b/MP/code/server/sv_main.c
index afd9670..a029846 100644
--- a/MP/code/server/sv_main.c
+++ b/MP/code/server/sv_main.c
@@ -346,8 +346,8 @@ void SV_MasterShutdown( void ) {
 	SV_MasterHeartbeat(FLATLINE_FOR_MASTER);
 
 	// send it again to minimize chance of drops
-	svs.nextHeartbeatTime = -9999;
-	SV_MasterHeartbeat(FLATLINE_FOR_MASTER);
+//	svs.nextHeartbeatTime = -9999;
+//	SV_MasterHeartbeat(FLATLINE_FOR_MASTER);
 
 	// when the master tries to poll the server, it won't respond, so
 	// it will be removed from the list
diff --git a/SP/code/server/sv_main.c b/SP/code/server/sv_main.c
index 0f29b65..16023a9 100644
--- a/SP/code/server/sv_main.c
+++ b/SP/code/server/sv_main.c
@@ -353,8 +353,8 @@ void SV_MasterShutdown( void ) {
 	SV_MasterHeartbeat(FLATLINE_FOR_MASTER);
 
 	// send it again to minimize chance of drops
-	svs.nextHeartbeatTime = -9999;
-	SV_MasterHeartbeat(FLATLINE_FOR_MASTER);
+//	svs.nextHeartbeatTime = -9999;
+//	SV_MasterHeartbeat(FLATLINE_FOR_MASTER);
 
 	// when the master tries to poll the server, it won't respond, so
 	// it will be removed from the list

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list