mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Data model paths - Added events for validating/invalidating
List condition - Reinitialize when path validates/invalidates Conditions - Don't save with invalid paths Core - Fixed render exception on data model expansion deactivate
This commit is contained in:
1 parent
d46a610e23
commit
69ae42c039
5 files changed
+82
-6
No files matched your search
@@ -166,8 +166,8 @@ namespace Artemis.Core.Services
|
||||
_frameStopWatch.Restart();
|
||||
lock (_dataModelExpansions)
|
||||
{
|
||||
// Update all active modules
|
||||
foreach (BaseDataModelExpansion dataModelExpansion in _dataModelExpansions)
|
||||
// Update all active modules, check Enabled status because it may go false before before the _dataModelExpansions list is updated
|
||||
foreach (BaseDataModelExpansion dataModelExpansion in _dataModelExpansions.Where(e => e.Enabled))
|
||||
dataModelExpansion.Update(args.DeltaTime);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user