mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-11 19:04:05 +02:00
Another possible fix for the search bug
This commit is contained in:
@@ -2253,6 +2253,7 @@ int search_ui(pixel *vid_buf)
|
|||||||
|
|
||||||
if((b && !bq && mp!=-1 && !st && !uih) || do_open==1)
|
if((b && !bq && mp!=-1 && !st && !uih) || do_open==1)
|
||||||
{
|
{
|
||||||
|
active = 0;
|
||||||
if(open_ui(vid_buf, search_ids[mp], search_dates[mp]?search_dates[mp]:NULL)==1) {
|
if(open_ui(vid_buf, search_ids[mp], search_dates[mp]?search_dates[mp]:NULL)==1) {
|
||||||
goto finish;
|
goto finish;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user