mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-22 00:10:25 +00:00
intra:: improved keeping cgi's
This commit is contained in:
parent
9076056fc4
commit
a7ddaae7d4
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user