intra:: improved keeping cgi's

This commit is contained in:
Zeno Rogue 2021-09-17 13:50:43 +02:00
parent 9076056fc4
commit a7ddaae7d4
1 changed files with 1 additions and 1 deletions

View File

@ -1201,7 +1201,7 @@ EX void check_cgi() {
if(fake::in()) fake::underlying_cgip->timestamp = ntimestamp;
if(arcm::alt_cgip) arcm::alt_cgip->timestamp = ntimestamp;
if(isize(cgis) > 4 && !intra::in) {
if(isize(cgis) > 4 && intra::data.empty()) {
vector<pair<int, string>> timestamps;
for(auto& t: cgis) timestamps.emplace_back(-t.second.timestamp, t.first);
sort(timestamps.begin(), timestamps.end());