Skip to content

Commit

Permalink
Merge pull request Huz2e#166 from Huz2e/obj
Browse files Browse the repository at this point in the history
Добрый предатель
  • Loading branch information
Huz2e authored Jul 13, 2024
2 parents 572018c + c4dc33c commit a8177f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/modules/antagonists/traitor/datum_traitor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
uplink_handler.has_progression = TRUE
SStraitor.register_uplink_handler(uplink_handler)

if(give_secondary_objectives)
if(give_secondary_objectives && GLOB.joined_player_list.len >= 25) // MASSMETA EDIT CHANGE: original - if(give_seocndary_objectives)
uplink_handler.has_objectives = TRUE
uplink_handler.generate_objectives()

Expand Down Expand Up @@ -248,7 +248,7 @@
objectives += ending_objective

/datum/antagonist/traitor/proc/forge_single_generic_objective()
if(prob(KILL_PROB))
if(prob(KILL_PROB) && GLOB.joined_player_list.len >= 25) // MASSMETA EDIT CHANGE: original - if(prob(KILL_PROB))
var/list/active_ais = active_ais(skip_syndicate = TRUE)
if(active_ais.len && prob(DESTROY_AI_PROB(GLOB.joined_player_list.len)))
var/datum/objective/destroy/destroy_objective = new()
Expand Down

0 comments on commit a8177f8

Please sign in to comment.