updating firstturn from the server

This commit is contained in:
Enno Rehling 2005-10-12 20:27:50 +00:00
parent ff761f22b3
commit 6b27b2a0c2
1 changed files with 3 additions and 2 deletions

View File

@ -1144,8 +1144,9 @@ parse_quit(void)
}
} else {
if (f->subscription) {
sql_print(("UPDATE subscriptions SET status='ACTIVE', lastturn=%d, password='%s' WHERE id=%u;\n",
f->lastorders, f->override, f->subscription));
sql_print(("UPDATE subscriptions SET status='ACTIVE', lastturn=%d, firstturn=%d, password='%s' WHERE id=%u;\n",
f->lastorders, f->lastorders-f->age,
f->override, f->subscription));
}
}