Merge pull request #522 from Jay-Sparrow/Dynamic2

midrounds plz
This commit is contained in:
QuoteFox
2020-09-27 15:35:52 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -802,7 +802,7 @@ GLOBAL_VAR_INIT(dynamic_chaos_level, 1.5)
/// Refund threat, but no more than threat_level.
/datum/game_mode/dynamic/proc/refund_threat(regain)
threat = min(threat_level,threat+regain)
threat = min(threat_level,threat+regain,100)
/// Generate threat and increase the threat_level if it goes beyond, capped at 100
/datum/game_mode/dynamic/proc/create_threat(gain)
@@ -199,7 +199,7 @@
high_population_requirement = 10
flags = TRAITOR_RULESET
chaos_min = 2.0
chaos_max = 3.5
chaos_max = 4.0
/datum/dynamic_ruleset/midround/autotraitor/acceptable(population = 0, threat = 0)
var/player_count = mode.current_players[CURRENT_LIVING_PLAYERS].len