Skip to content
Snippets Groups Projects
Commit af159fec authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Don't rollback scan pointer on sub close.

parent e0a367bd
No related branches found
No related tags found
No related merge requests found
......@@ -1592,7 +1592,7 @@ function close_sub()
lock_cfg();
try {
read_cfg(get_base_code(base), false);
if (saved_config[code].scan_ptr!=scan_ptr) {
if (saved_config[code].scan_ptr < scan_ptr) {
saved_config[code].scan_ptr=scan_ptr;
save_cfg();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment