From f4acff67e4fa82133d01a5089e97c8ab3e9ce954 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 2 Jan 2021 20:15:19 +0100 Subject: [PATCH] https://bugs.eressea.de/view.php?id=2720 report study costs to the correct unit --- src/automate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/automate.c b/src/automate.c index 24657f893..e3f5b656a 100644 --- a/src/automate.c +++ b/src/automate.c @@ -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)); } } }