Skip to content

Commit

Permalink
Фикс амбиций (BlueMoon-Labs#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kush1Push1 authored Jan 9, 2024
1 parent 28bf951 commit 02b42bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/ambitions/ambition_objective.dm
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
/datum/ambition_objective/proc/random_player()
var/list/players = list()
for(var/i in GLOB.joined_player_list) // BLUEMOON EDIT - было for(var/mob/living/carbon/human/player in GLOB.player_list)
var/mob/living/carbon/human/player = get_mob_by_ckey(i) // BLUEMOON ADD
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
Expand Down

0 comments on commit 02b42bf

Please sign in to comment.