mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 23:23:28 +01:00
is_special_character() mind check (#16938)
This commit is contained in:
@@ -629,7 +629,6 @@ GLOBAL_VAR_INIT(nologevent, 0)
|
||||
*
|
||||
* Arguments:
|
||||
* * M - the mob you're checking
|
||||
* *
|
||||
*/
|
||||
/proc/is_special_character(mob/M)
|
||||
if(!SSticker.mode)
|
||||
@@ -640,7 +639,7 @@ GLOBAL_VAR_INIT(nologevent, 0)
|
||||
var/mob/living/silicon/robot/R = M
|
||||
if(R.emagged)
|
||||
return TRUE
|
||||
if(M.mind.special_role)//If they have a mind and special role, they are some type of traitor or antagonist.
|
||||
if(M.mind?.special_role)//If they have a mind and special role, they are some type of traitor or antagonist.
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user