Fixes bug whereby the first time sensors are called on, returns a value saying there are no sensors.
This is because SensorCache has a null vessel until assigned during the "s.*" API evaluation, but the vessel was only scanned in every TelemachusBehaviour::Update.
Hurrah for spending hours chasing bugs in my code only to find it isn't what I've changed :satisfied:!
Fixes bug whereby the first time sensors are called on, returns a value saying there are no sensors.
This is because SensorCache has a
null
vessel until assigned during the "s.*" API evaluation, but the vessel was only scanned in everyTelemachusBehaviour::Update
.Hurrah for spending hours chasing bugs in my code only to find it isn't what I've changed :satisfied:!