mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-23 20:16:19 +01:00
Might fix changeling bans
This commit is contained in:
@@ -56,23 +56,24 @@
|
||||
return
|
||||
|
||||
/datum/antagonist/changeling/can_become_antag(var/datum/mind/player, var/ignore_role)
|
||||
if(..())
|
||||
if(player.current)
|
||||
if(ishuman(player.current))
|
||||
var/mob/living/carbon/human/H = player.current
|
||||
if(H.isSynthetic())
|
||||
if(!..())
|
||||
return 0
|
||||
if(player.current)
|
||||
if(ishuman(player.current))
|
||||
var/mob/living/carbon/human/H = player.current
|
||||
if(H.isSynthetic())
|
||||
return 0
|
||||
if(H.species.flags & NO_SCAN)
|
||||
return 0
|
||||
return 1
|
||||
else if(isnewplayer(player.current))
|
||||
if(player.current.client && player.current.client.prefs)
|
||||
var/datum/species/S = all_species[player.current.client.prefs.species]
|
||||
if(S && (S.flags & NO_SCAN))
|
||||
return 0
|
||||
if(H.species.flags & NO_SCAN)
|
||||
if(player.current.client.prefs.organ_data["torso"] == "cyborg") // Full synthetic.
|
||||
return 0
|
||||
return 1
|
||||
else if(isnewplayer(player.current))
|
||||
if(player.current.client && player.current.client.prefs)
|
||||
var/datum/species/S = all_species[player.current.client.prefs.species]
|
||||
if(S && (S.flags & NO_SCAN))
|
||||
return 0
|
||||
if(player.current.client.prefs.organ_data["torso"] == "cyborg") // Full synthetic.
|
||||
return 0
|
||||
return 1
|
||||
return 0
|
||||
|
||||
/datum/antagonist/changeling/print_player_full(var/datum/mind/ply)
|
||||
|
||||
Reference in New Issue
Block a user