Skip to content

Commit

Permalink
По идее на Ионные Законы теперь не будет брать гост-роли.
Browse files Browse the repository at this point in the history
  • Loading branch information
SmiLeYre committed Feb 27, 2024
1 parent 815de9c commit e412e22
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/modules/events/ion_storm.dm
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,9 @@
/proc/generate_static_ion_law()
var/iondepartment = pick_list("ion_laws.json", "отделы")
var/list/players = list()
for(var/mob/living/carbon/human/player in GLOB.player_list)
if( !player.mind || player.mind.assigned_role == player.mind.special_role || player.client.inactivity > 10 MINUTES)
for(var/i in GLOB.joined_player_list) // BLUEMOON EDIT - было for(var/mob/living/carbon/human/player in GLOB.player_list)
var/mob/player = get_mob_by_ckey(i) // BLUEMOON ADD
if(!player.mind || player.mind.assigned_role == player.mind.special_role || player.client.inactivity > 10 MINUTES || player.mind == owner)
continue
players += player.real_name
var/random_player = "Капитан"
Expand Down

0 comments on commit e412e22

Please sign in to comment.