- Timestamp:
- Oct 29, 2019, 11:20:45 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Commands/EnableOpenIDDebug.cs
r325 r359 14 14 15 15 public override void Execute (List<string> _params, CommandSenderInfo _senderInfo) { 16 try { 17 if (_params.Count != 1) { 18 SdtdConsole.Instance.Output ("Current state: " + OpenID.debugOpenId); 19 return; 20 } 16 if (_params.Count != 1) { 17 SdtdConsole.Instance.Output ("Current state: " + OpenID.debugOpenId); 18 return; 19 } 21 20 22 OpenID.debugOpenId = _params [0].Equals ("1"); 23 SdtdConsole.Instance.Output ("Set OpenID debugging to " + _params [0].Equals ("1")); 24 } catch (Exception e) { 25 Log.Out ("Error in EnableOpenIDDebug.Run: " + e); 26 } 21 OpenID.debugOpenId = _params [0].Equals ("1"); 22 SdtdConsole.Instance.Output ("Set OpenID debugging to " + _params [0].Equals ("1")); 27 23 } 28 24 }
Note:
See TracChangeset
for help on using the changeset viewer.