More dynamic logging (#26874)

This commit is contained in:
DamianX
2020-06-18 13:26:12 +02:00
committed by GitHub
parent 2b414da0cd
commit b475c04fce
3 changed files with 4 additions and 1 deletions

View File

@@ -250,6 +250,7 @@ var/stacking_limit = 90
rule.mode = src
rule.candidates = candidates.Copy()
rule.trim_candidates()
if (rule.ready(1))//ignoring enemy job requirements
picking_roundstart_rule(list(rule))
forced_rules++

View File

@@ -283,6 +283,7 @@
continue
/datum/dynamic_ruleset/roundstart/ready(var/forced = 0)
message_admins("[name]: [length(candidates)] candidates")
if (!forced)
if(!check_enemy_jobs(FALSE))
return 0

View File

@@ -330,6 +330,7 @@
var/indice_pop = min(10, round(mode.roundstart_pop_ready/5) + 1)
var/operatives = operative_cap[indice_pop]
message_admins("[name]: indice_pop = [indice_pop], operatives = [operatives]")
var/leader = 1
for(var/operatives_number = 1 to operatives)
if(candidates.len <= 0)