(97e5bb5d1) Don't show the "kick / vote to kick" buttons when inspecting the owner of the server, or display the "x voted to kick" message if someone tries to vote kick the owner.

This commit is contained in:
Joonas Rikkonen
2019-06-09 17:38:20 +03:00
parent 77926908fc
commit a70319bbd2
5 changed files with 15 additions and 6 deletions
@@ -12,6 +12,7 @@ namespace Barotrauma.Networking
public byte ID;
public UInt16 CharacterID;
public bool Muted;
public bool AllowKicking;
}
partial class Client : IDisposable
@@ -37,6 +38,8 @@ namespace Barotrauma.Networking
}
}
public bool AllowKicking;
public void UpdateSoundPosition()
{
if (VoipSound == null) { return; }