This commit is contained in:
117 files changed
+669
-648
No files matched your search
@@ -108,7 +108,8 @@ public class ScriptSet : IScriptSet
|
||||
if (!forceAdd)
|
||||
{
|
||||
var preventVolatileAdd = false;
|
||||
_source.RunScriptHook(x => x.PreventVolatileAdd(_source, script, ref preventVolatileAdd));
|
||||
_source.RunScriptHook<IScriptPreventVolatileAdd>(x =>
|
||||
x.PreventVolatileAdd(_source, script, ref preventVolatileAdd));
|
||||
if (preventVolatileAdd)
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user