Removed the last few references to MODE, fixed some oversights with player_is_antag().

This commit is contained in:
Zuhayr
2015-07-14 04:58:18 +09:30
parent 965ab355e2
commit cd380aba24
10 changed files with 15 additions and 69 deletions

View File

@@ -8,7 +8,7 @@
endWhen = rand(500, 1500)
// command_alert("The station has entered an ion storm. Monitor all electronic equipment for malfunctions", "Anomaly Alert")
for (var/mob/living/carbon/human/player in player_list)
if( !player.mind || player_is_antag(player.mind) || player.client.inactivity > MinutesToTicks(10))
if( !player.mind || player_is_antag(player.mind, only_offstation_roles = 1) || player.client.inactivity > MinutesToTicks(10))
continue
players += player.real_name