mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-09-14 14:17:46 -04:00
Add missing condition in per-zone mode sanity check to handle active mode -1 (follow device mode)
This commit is contained in:
1 parent
249c22082d
commit
5c8baf47f8
1 file changed
+4
@@ -3532,6 +3532,10 @@ NetPacketStatus NetworkServer::ProcessRequest_RGBController_UpdateZoneMode(Netwo
|
||||
controllers[controller_idx]->zones[zone_idx].active_mode = mode_idx;
|
||||
}
|
||||
}
|
||||
else if(mode_idx == -1)
|
||||
{
|
||||
controllers[controller_idx]->zones[zone_idx].active_mode = mode_idx;
|
||||
}
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
| Unlock access mutex |
|
||||
|
||||
Reference in new issue
Block a user