1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-19 23:30:25 +00:00

revert uploadScore

This commit is contained in:
Zeno Rogue 2022-06-16 23:13:21 +02:00
parent d2333c15c3
commit ba99e537a3

View File

@ -1211,7 +1211,8 @@ map<string, map<eLand, int> > scoreboard;
void uploadScore() { void uploadScore() {
int tscore = 0; int tscore = 0;
for(eLand l: race_lands) { for(eLand l: race_lands) {
int i = get_score_in_land(l); if(!best_scores.count(l)) continue;
int i = best_scores[l];
if(!i) continue; if(!i) continue;
scoreboard[myname()][l] = i; scoreboard[myname()][l] = i;
int score = 60000000 / i; // 1000 points for minute, 2000 points for 30 sec int score = 60000000 / i; // 1000 points for minute, 2000 points for 30 sec