Map update() will set the updating var to false before calling the spawnObjectsManager update method to ensure that this one can add the objects at this point.
No more objectsToAdd... instead, the update() method iterates over a copy of the objects vector.