mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-21 12:02:31 +01:00
Fix for cyborgs becoming lings in calamity mode.
This commit is contained in:
@@ -198,7 +198,18 @@
|
||||
if("syndi")
|
||||
possible_antags = get_players_for_role(BE_OPERATIVE)
|
||||
if("ling")
|
||||
|
||||
possible_antags = get_players_for_role(BE_CHANGELING)
|
||||
|
||||
var/list/unsuitable_players = list()
|
||||
|
||||
for(var/datum/mind/player in possible_antags)
|
||||
if(player && (player.assigned_role == "Cyborg" || player.assigned_role == "AI"))
|
||||
unsuitable_players |= player
|
||||
|
||||
if(unsuitable_players.len)
|
||||
possible_antags -= unsuitable_players
|
||||
|
||||
if("tater")
|
||||
possible_antags = get_players_for_role(BE_TRAITOR)
|
||||
if("wiz")
|
||||
|
||||
Reference in New Issue
Block a user