- Timestamp:
- Aug 7, 2022, 3:02:24 PM (2 years ago)
- Location:
- binary-improvements2/MapRendering/src
- Files:
-
- 2 added
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/MapRendering/src/Commands/EnableRendering.cs
r390 r391 1 1 using System.Collections.Generic; 2 using JetBrains.Annotations; 2 3 3 namespace AllocsFixes.CustomCommands { 4 namespace MapRendering.Commands { 5 [UsedImplicitly] 4 6 public class EnableRendering : ConsoleCmdAbstract { 5 7 public override string GetDescription () { … … 13 15 public override void Execute (List<string> _params, CommandSenderInfo _senderInfo) { 14 16 if (_params.Count != 1) { 15 SdtdConsole.Instance.Output ("Current state: " + MapRender ing.MapRendering.renderingEnabled);17 SdtdConsole.Instance.Output ("Current state: " + MapRenderer.renderingEnabled); 16 18 return; 17 19 } 18 20 19 MapRender ing.MapRendering.renderingEnabled = _params [0].Equals ("1");21 MapRenderer.renderingEnabled = _params [0].Equals ("1"); 20 22 SdtdConsole.Instance.Output ("Set live map rendering to " + _params [0].Equals ("1")); 21 23 }
Note:
See TracChangeset
for help on using the changeset viewer.