mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-04-12 12:07:05 +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
|
||||
// Avoid crashing Simpl applications
|
||||
if (IcdEnvironment.RuntimeEnvironment == IcdEnvironment.eRuntimeEnvironment.SimplSharp)
|
||||
if (IcdEnvironment.RuntimeEnvironment != IcdEnvironment.eRuntimeEnvironment.SimplSharpPro)
|
||||
return false;
|
||||
|
||||
if (CrestronConsole.ConsoleRegistered)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue