Fixed turret syncing, clients don't get a notification about changed permissions if they're assigned the same permissions they already have
This commit is contained in:
@@ -601,6 +601,7 @@ namespace Barotrauma.Networking
|
||||
|
||||
private void SetPermissions(ClientPermissions newPermissions)
|
||||
{
|
||||
if (newPermissions == permissions) return;
|
||||
GUIMessageBox.MessageBoxes.RemoveAll(mb => mb.UserData as string == "permissions");
|
||||
|
||||
string msg = "";
|
||||
|
||||
Reference in New Issue
Block a user