Refactors roundstart checks slightly (#26131)

* Refactors roundstart checks slightly

* Fix
This commit is contained in:
Cyberboss
2017-04-26 18:05:41 -04:00
committed by oranges
parent 729010bbb2
commit 6c6fc719ec
18 changed files with 28 additions and 25 deletions

View File

@@ -89,7 +89,7 @@
to_chat(src, "Enforce Continuous Rounds: [config.continuous.len] of [config.modes.len] roundtypes")
to_chat(src, "Allow Midround Antagonists: [config.midround_antag.len] of [config.modes.len] roundtypes")
if(config.show_game_type_odds)
if(SSticker.current_state == GAME_STATE_PLAYING)
if(SSticker.IsRoundInProgress())
var/prob_sum = 0
var/current_odds_differ = FALSE
var/list/probs = list()