mirror of
https://github.com/schoebel/mars
synced 2025-02-16 20:16:57 +00:00
infra: fix automatic killing on outputless bricks
This commit is contained in:
parent
03803eeea4
commit
806a62289c
@ -1220,7 +1220,7 @@ restart:
|
||||
continue;
|
||||
}
|
||||
// only kill unconnected bricks
|
||||
if (brick->outputs[0] && brick->outputs[0]->nr_connected > 0) {
|
||||
if (brick->nr_outputs > 0 && brick->outputs[0] && brick->outputs[0]->nr_connected > 0) {
|
||||
continue;
|
||||
}
|
||||
if (only_off) {
|
||||
|
Loading…
Reference in New Issue
Block a user