Scripting - Fixed broken scripts being applied to profiles in an invalid state

UI - Updated about tab link
This commit is contained in:
Robert committed 2021-08-30 16:05:11 +02:00
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;
}