mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 12:41:09 +01:00
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>
This commit is contained in:
co-authored by
Mothblocks
parent
e2534f3cee
commit
f16b8ad173
@@ -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