Fix #2850: [modify_side] share_vision=yes doesn't do anything
Thanks to @gfgtdf for the suggested fix that works well.
This commit is contained in:
parent
9de7aff904
commit
82e04ab761
1 changed files with 5 additions and 1 deletions
|
@ -390,9 +390,13 @@ public:
|
|||
void set_share_vision(const std::string& vision_status) {
|
||||
info_.share_vision = SHARE_VISION::ALL;
|
||||
info_.share_vision.parse(vision_status);
|
||||
clear_caches();
|
||||
}
|
||||
|
||||
void set_share_vision(SHARE_VISION vision_status) { info_.share_vision = vision_status; }
|
||||
void set_share_vision(SHARE_VISION vision_status) {
|
||||
info_.share_vision = vision_status;
|
||||
clear_caches();
|
||||
}
|
||||
|
||||
void handle_legacy_share_vision(const config& cfg)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue