Ignore:
Timestamp:
Aug 23, 2020, 9:52:01 AM (4 years ago)
Author:
alloc
Message:

A19 code

Location:
binary-improvements
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements

    • Property svn:ignore
      •  

        old new  
        11bin
         2.idea
  • binary-improvements/MapRendering/Web/API/GetAllowedCommands.cs

    r351 r360  
    99                        JSONArray entries = new JSONArray ();
    1010                        foreach (IConsoleCommand cc in SdtdConsole.Instance.GetCommands ()) {
    11                                 AdminToolsCommandPermissions atcp =
    12                                         GameManager.Instance.adminTools.GetAdminToolsCommandPermission (cc.GetCommands ());
    13                                 if (_permissionLevel <= atcp.PermissionLevel) {
     11                                int commandPermissionLevel = GameManager.Instance.adminTools.GetCommandPermissionLevel (cc.GetCommands ());
     12                                if (_permissionLevel <= commandPermissionLevel) {
    1413                                        string cmd = string.Empty;
    1514                                        foreach (string s in cc.GetCommands ()) {
Note: See TracChangeset for help on using the changeset viewer.