Fix mafia achievements (#78420)

## About The Pull Request
Fixes #78415

Have not tested properly, because you need 12 accounts to do that.
(Admin start game and forced games do not award achievements)
## Why It's Good For The Game
## Changelog
🆑
fix: Fixed Mafia achievements
/🆑

---------

Co-authored-by: AnturK <AnturK@users.noreply.github.com>
This commit is contained in:
antropod
2023-09-19 14:18:09 +02:00
committed by GitHub
co-authored by AnturK
parent 11ec431834
commit 9bc306365c
+1 -1
View File
@@ -369,7 +369,7 @@ GLOBAL_LIST_INIT(mafia_role_by_alignment, setup_mafia_role_by_alignment())
* * role: mafia_role datum to reward.
*/
/datum/mafia_controller/proc/award_role(award, datum/mafia_role/rewarded)
var/client/role_client = GLOB.directory[rewarded.body.client]
var/client/role_client = rewarded.body.client
role_client?.give_award(award, rewarded.body)
/**