report study costs to the correct unit
This commit is contained in:
Enno Rehling 2021-01-02 20:15:19 +01:00
parent 0bbadf2a66
commit f4acff67e4
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ void do_autostudy(region *r)
if (money > 0) {
use_pooled(u, get_resourcetype(R_SILVER), GET_DEFAULT, money);
ADDMSG(&u->faction->msgs, msg_message("studycost",
"unit region cost skill", u, u->region, money, skill));
"unit region cost skill", scholars[i].u, r, money, skill));
}
}
}