From 3a6dce54acadd7b7874cb5a7f97386f9141e6ccf Mon Sep 17 00:00:00 2001 From: Putnam Date: Thu, 14 Nov 2019 05:53:58 -0800 Subject: [PATCH] i'm like 90% sure this is what it's supposed to be. --- code/game/gamemodes/dynamic/dynamic.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/gamemodes/dynamic/dynamic.dm b/code/game/gamemodes/dynamic/dynamic.dm index ced8fb3719..83a3debfdc 100644 --- a/code/game/gamemodes/dynamic/dynamic.dm +++ b/code/game/gamemodes/dynamic/dynamic.dm @@ -494,7 +494,7 @@ GLOBAL_VAR_INIT(dynamic_forced_threat_level, -1) return FALSE starting_rule = pickweight(drafted_rules) // With low pop and high threat there might be rulesets that get executed with no valid candidates. - else if(starting_rule.ready()) // Should already be filtered out, but making sure. Check filtering at end of proc if reported. + else if(!starting_rule.ready()) // Should already be filtered out, but making sure. Check filtering at end of proc if reported. drafted_rules -= starting_rule if(drafted_rules.len <= 0) log_game("DYNAMIC: Picking [starting_rule.name] failed because there were not enough candidates and no more rulesets available. Report this.")