allow host to build component list even if off

fixes confusing analyzer report. when you place a case in the world and
add components, even while the case is off it correctly reports its
internal component max. But when loading a world, cases that are not
running will have a 0 component max according to the analyzer. This
inaccurate limit is fixed when the case is turned on
This commit is contained in:
payonel 2018-10-29 17:37:23 -07:00
parent 9d4826d070
commit ef2f45b7a0

View File

@ -785,6 +785,7 @@ class Machine(val host: MachineHost) extends AbstractManagedEnvironment with mac
}
else {
// Clean up in case we got a weird state stack.
onHostChanged()
close()
}
})