mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
Scripting - Fixed broken scripts being applied to profiles in an invalid state
UI - Updated about tab link
This commit is contained in:
1 parent
fcdfbe61bb
commit
7ad7eaad89
7 files changed
+97
-43
No files matched your search
@@ -11,10 +11,6 @@ namespace Artemis.Core.ScriptingProviders
|
||||
protected ProfileScript(Profile profile, ScriptConfiguration configuration) : base(configuration)
|
||||
{
|
||||
Profile = profile;
|
||||
lock (Profile.Scripts)
|
||||
{
|
||||
Profile.Scripts.Add(this);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -20,8 +20,6 @@ namespace Artemis.Core.ScriptingProviders
|
||||
throw new ArtemisCoreException("The provided script configuration already has an active script");
|
||||
|
||||
ScriptConfiguration = configuration;
|
||||
ScriptConfiguration.Script = this;
|
||||
|
||||
ScriptConfiguration.PropertyChanged += ScriptConfigurationOnPropertyChanged;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user