diff options
Diffstat (limited to 'control/actions.cpp')
-rw-r--r-- | control/actions.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/control/actions.cpp b/control/actions.cpp index 66bba2b..8ecd30c 100644 --- a/control/actions.cpp +++ b/control/actions.cpp @@ -83,6 +83,8 @@ Action call_actions_based_on_timer(Timer&& tConf, std::vector<Action>&& actions) void default_floor_on_missing_owner(Zone& zone, const Group& group) { + // Set/update the services of the group + zone.setServices(&group); auto services = zone.getGroupServices(&group); auto defFloor = std::any_of( services.begin(), @@ -103,6 +105,8 @@ Action set_speed_on_missing_owner(uint64_t speed) { return [speed](control::Zone& zone, const Group& group) { + // Set/update the services of the group + zone.setServices(&group); auto services = zone.getGroupServices(&group); auto missingOwner = std::any_of( services.begin(), |