• R/O
  • SSH

OMP: Commit

Multiplayer platform


Commit MetaInfo

Revision3daaa0ca8cb181af06bfeef6c534218199da5b5c (tree)
Time2017-05-21 01:59:38
AuthorFace
CommiterFace

Log Message

Host: disabled automatic zombie kicking for persistence

Change Summary

Incremental Difference

diff -r 72f13b1db26a -r 3daaa0ca8cb1 Orbitersdk/samples/OMP/Orbiter.Multiplayer.Server/Host.cs
--- a/Orbitersdk/samples/OMP/Orbiter.Multiplayer.Server/Host.cs Sat May 20 18:58:47 2017 +0200
+++ b/Orbitersdk/samples/OMP/Orbiter.Multiplayer.Server/Host.cs Sat May 20 18:59:38 2017 +0200
@@ -290,16 +290,7 @@
290290 break;
291291 }
292292 }
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;
303294 if (HostDisconnected != null) HostDisconnected(this, e);
304295 }
305296
Show on old repository browser