From 3a23eef2ae34f46cc2a2fb2332c4ada3942cdcfe Mon Sep 17 00:00:00 2001 From: Jordan Orelli Date: Mon, 17 Nov 2014 21:48:50 -0500 Subject: [PATCH] remove player from the system when they die --- system.go | 1 + 1 file changed, 1 insertion(+) diff --git a/system.go b/system.go index 89835db..0072a3e 100644 --- a/system.go +++ b/system.go @@ -183,6 +183,7 @@ func (s *System) Bombed(bomber *Connection, frame int64) { s.EachConn(func(conn *Connection) { conn.Die(frame) + s.Leave(conn) bomber.MadeKill(conn) }) if s.colonizedBy != nil {