mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 19:36:28 +00:00
Nodes - Ensure there always is an exit node
This commit is contained in:
1 parent
c4340c3c97
commit
3e201336f1
4 files changed
+16
-6
No files matched your search
@@ -234,7 +234,7 @@ namespace Artemis.Core
|
||||
|
||||
Script.Save();
|
||||
Entity.IsEnabled = IsEnabled;
|
||||
Entity.NodeScript = Script?.Entity;
|
||||
Entity.NodeScript = Script.Entity.Nodes.Any() ? Script.Entity : null;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in new issue
Block a user