mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
[MIRROR] Fixes the mess between ROLE_REV and ROLE_REV_HEAD [MDB IGNORE] (#10705)
* Fixes the mess between ROLE_REV and ROLE_REV_HEAD (#64068) * Fixes the mess between ROLE_REV and ROLE_REV_HEAD * Update code/modules/client/preferences/migrations/tgui_prefs_migration.dm Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com> * Update revolution.dm Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com> * Fixes the mess between ROLE_REV and ROLE_REV_HEAD Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
This commit is contained in:
co-authored by
Mothblocks
John Willard
parent
98311e9542
commit
c3b1510356
@@ -43,6 +43,8 @@
|
||||
// "Familes [sic] Antagonists" was the old name of the catch-all.
|
||||
migrate_antagonist("Familes Antagonists", list(ROLE_FAMILIES, ROLE_FAMILY_HEAD_ASPIRANT))
|
||||
|
||||
// If you have an antagonist enabled, it will add the alternative preferences for said antag in be_special.
|
||||
// will_exist is the role we check if enabled, to_add list is the antagonists we add onto the be_special list.
|
||||
/datum/preferences/proc/migrate_antagonist(will_exist, list/to_add)
|
||||
if (will_exist in be_special)
|
||||
for (var/add in to_add)
|
||||
|
||||
Reference in New Issue
Block a user