forked from github/server
report study costs to the correct unit
This commit is contained in:
parent
0bbadf2a66
commit
f4acff67e4
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue