Multiplayer platform
Revision | 3daaa0ca8cb181af06bfeef6c534218199da5b5c (tree) |
---|---|
Time | 2017-05-21 01:59:38 |
Author | Face |
Commiter | Face |
Host: disabled automatic zombie kicking for persistence
@@ -290,16 +290,7 @@ | ||
290 | 290 | break; |
291 | 291 | } |
292 | 292 | } |
293 | - if (User != null) | |
294 | - { | |
295 | - User.Host = null; | |
296 | - | |
297 | - //TODO: disable automatic zombie kicking again | |
298 | - server.Map.Remove(User.Name, server.Configuration.Password.Admin, this); | |
299 | - Broadcast(">>> \"" + User.Name + "\" left the server <<<", true, this); | |
300 | - log.Info(User.Name + " left server"); | |
301 | - | |
302 | - } | |
293 | + if (User != null) User.Host = null; | |
303 | 294 | if (HostDisconnected != null) HostDisconnected(this, e); |
304 | 295 | } |
305 | 296 |