Ignore:
Timestamp:
Aug 7, 2022, 3:02:24 PM (2 years ago)
Author:
alloc
Message:

Major refactoring/cleanup

Location:
binary-improvements2/MapRendering/src
Files:
2 added
1 moved

Legend:

Unmodified
Added
Removed
  • binary-improvements2/MapRendering/src/Commands/EnableRendering.cs

    r390 r391  
    11using System.Collections.Generic;
     2using JetBrains.Annotations;
    23
    3 namespace AllocsFixes.CustomCommands {
     4namespace MapRendering.Commands {
     5        [UsedImplicitly]
    46        public class EnableRendering : ConsoleCmdAbstract {
    57                public override string GetDescription () {
     
    1315                public override void Execute (List<string> _params, CommandSenderInfo _senderInfo) {
    1416                        if (_params.Count != 1) {
    15                                 SdtdConsole.Instance.Output ("Current state: " + MapRendering.MapRendering.renderingEnabled);
     17                                SdtdConsole.Instance.Output ("Current state: " + MapRenderer.renderingEnabled);
    1618                                return;
    1719                        }
    1820
    19                         MapRendering.MapRendering.renderingEnabled = _params [0].Equals ("1");
     21                        MapRenderer.renderingEnabled = _params [0].Equals ("1");
    2022                        SdtdConsole.Instance.Output ("Set live map rendering to " + _params [0].Equals ("1"));
    2123                }
Note: See TracChangeset for help on using the changeset viewer.