mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-16 13:15:07 +00:00
Changed environment checking when registering console commands
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user