1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-24 05:17:17 +00:00

removed incorrect timestamping of cgi's

This commit is contained in:
Zeno Rogue 2019-08-18 18:44:47 +02:00
parent 9d84d5393b
commit 3c8e9a5c94

View File

@ -873,7 +873,6 @@ EX void check_cgi() {
if(prod) product::underlying_cgip->timestamp = ntimestamp; if(prod) product::underlying_cgip->timestamp = ntimestamp;
if(isize(cgis) > 4) { if(isize(cgis) > 4) {
cgi.timestamp = ticks;
vector<pair<int, string>> timestamps; vector<pair<int, string>> timestamps;
for(auto& t: cgis) timestamps.emplace_back(-t.second.timestamp, t.first); for(auto& t: cgis) timestamps.emplace_back(-t.second.timestamp, t.first);
sort(timestamps.begin(), timestamps.end()); sort(timestamps.begin(), timestamps.end());