remove player from the system when they die

slack
Jordan Orelli 10 years ago
parent 0cd94c4f7b
commit 3a23eef2ae

@ -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 {

Loading…
Cancel
Save