Skip to content

Commit

Permalink
Keter requirements only check the agent players
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorDinamit committed Dec 1, 2023
1 parent 6cbce43 commit 891b5e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/modules/suppressions/keter.dm
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@
if(available)
return

var/list/all_agents = AllLivingAgents()
/// Amount of people online that have met the requirements
var/clear_count = 0
/// How many people must meet requirements to enable it
var/clear_requirement = length(GLOB.player_list) * 0.5
for(var/mob/M in GLOB.player_list)
var/clear_requirement = length(all_agents) * 0.5
for(var/mob/M in all_agents)
if(!(M.ckey in SSpersistence.cleared_core_suppressions))
continue
var/list/diffs = difflist(required_cores, SSpersistence.cleared_core_suppressions[M.ckey])
Expand Down

0 comments on commit 891b5e2

Please sign in to comment.