mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 03:57:32 +00:00
Changed environment checking when registering console commands
This commit is contained in:
parent
f5e794b34e
commit
e8ad8473e9
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ namespace ICD.Common.Utils
|
||||||
{
|
{
|
||||||
#if SIMPLSHARP
|
#if SIMPLSHARP
|
||||||
// Avoid crashing Simpl applications
|
// Avoid crashing Simpl applications
|
||||||
if (IcdEnvironment.RuntimeEnvironment == IcdEnvironment.eRuntimeEnvironment.SimplSharp)
|
if (IcdEnvironment.RuntimeEnvironment != IcdEnvironment.eRuntimeEnvironment.SimplSharpPro)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (CrestronConsole.ConsoleRegistered)
|
if (CrestronConsole.ConsoleRegistered)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue