Characters stay alive for 30 seconds after a client disconnects, and if the client rejoins during that time they regain control of the character. Closes #42

This commit is contained in:
Joonas Rikkonen
2018-08-06 13:38:39 +03:00
parent af3fa80011
commit 4ebe3d715e
3 changed files with 45 additions and 4 deletions
@@ -219,6 +219,13 @@ namespace Barotrauma.Networking
private set;
}
[Serialize(30.0f, true)]
public bool KillDisconnectedTime
{
get;
private set;
}
[Serialize(true, true)]
public bool TraitorUseRatio
{