Refactoring Cleanup

This commit is contained in:
hondacrx
2020-02-03 14:42:20 -05:00
parent 2a065d22da
commit 752137af52
37 changed files with 107 additions and 157 deletions
+1 -1
View File
@@ -440,7 +440,7 @@ namespace Game.Chat.Commands
}
// Get security level of player, whom this ticket is assigned to
AccountTypes security = AccountTypes.Player;
AccountTypes security;
Player assignedPlayer = ticket.GetAssignedPlayer();
if (assignedPlayer && assignedPlayer.IsInWorld)
security = assignedPlayer.GetSession().GetSecurity();