Ignore:
Timestamp:
Mar 28, 2023, 5:11:02 PM (20 months ago)
Author:
alloc
Message:

A21 preparations.
NOT COMPATIBLE WITH A20 ANYMORE!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/MapRendering/Web/API/GetAllowedCommands.cs

    r360 r420  
    99                        JSONArray entries = new JSONArray ();
    1010                        foreach (IConsoleCommand cc in SdtdConsole.Instance.GetCommands ()) {
    11                                 int commandPermissionLevel = GameManager.Instance.adminTools.GetCommandPermissionLevel (cc.GetCommands ());
     11                                int commandPermissionLevel = GameManager.Instance.adminTools.Commands.GetCommandPermissionLevel (cc.GetCommands ());
    1212                                if (_permissionLevel <= commandPermissionLevel) {
    1313                                        string cmd = string.Empty;
Note: See TracChangeset for help on using the changeset viewer.