Skip to content

Commit

Permalink
Fix issues with merge
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoburatto committed Sep 30, 2023
1 parent 92645ed commit c944adf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Assets/Scripts/SS3D/Permissions/PermissionSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void ChangeUserPermission(string ckey, ServerRoleTypes role)
{
ServerRoleTypes previousRole = _userPermissions.TryGetValue(ckey, out ServerRoleTypes permission) ? permission : ServerRoleTypes.None;

Punpun.Information(this, $"Updating user {ckey} role from {previousRole} to {role}");
Log.Information(this, $"Updating user {ckey} role from {previousRole} to {role}");

_userPermissions[ckey] = role;

Expand Down
4 changes: 2 additions & 2 deletions Assets/Scripts/SS3D/Systems/PlayerControl/PlayerSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ private void ProcessAuthorizePlayer(NetworkConnection conn, UserAuthorizationMes

if (playedHasConnectedAlready)
{
Punpun.Information(this, "Player match for {ckey} found, reassigning to client", Logs.ServerOnly, ckey);
Log.Information(this, "Player match for {ckey} found, reassigning to client", Logs.ServerOnly, ckey);
}
else
{
Expand All @@ -179,7 +179,7 @@ private void ProcessAuthorizePlayer(NetworkConnection conn, UserAuthorizationMes

if (conn.IsHost && PermissionSettings.AddServerOwnerPermissionToServerHost)
{
Punpun.Information(this, $"Adding ServerOwner permission to server owner: {ckey}", Logs.ServerOnly, ckey);
Log.Information(this, $"Adding ServerOwner permission to server owner: {ckey}", Logs.ServerOnly, ckey);

Subsystems.Get<PermissionSystem>().ChangeUserPermission(ckey, ServerRoleTypes.ServerOwner);
}
Expand Down
1 change: 0 additions & 1 deletion ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ PlayerSettings:
- {fileID: 11400000, guid: 3c59f55e6898e694083e7a1ede49fe18, type: 2}
- {fileID: 11400000, guid: 2024dd0c65f45424f98ac0c8a6979181, type: 2}
- {fileID: 11400000, guid: 97967903e9bd51b499aaa39639cc9bb2, type: 2}
- {fileID: 11400000, guid: c15209f668bbfab479eb5184981c2bf7, type: 2}
metroInputSource: 0
wsaTransparentSwapchain: 0
m_HolographicPauseOnTrackingLoss: 1
Expand Down

0 comments on commit c944adf

Please sign in to comment.