mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 05:00:55 +01:00
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:
@@ -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)
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user