Merge pull request #11993 from Ghommie/Ghommie-cit704

porting CEV-Eris pickweight procs.
This commit is contained in:
Lin
2020-04-25 18:30:26 +00:00
committed by GitHub
6 changed files with 64 additions and 20 deletions
+1 -1
View File
@@ -361,7 +361,7 @@ SUBSYSTEM_DEF(vote)
picked = S
runnable_storytellers[S] *= round(stored_gamemode_votes[initial(S.name)]*100000,1)
if(!picked)
picked = pickweightAllowZero(runnable_storytellers)
picked = pickweight(runnable_storytellers, 0)
GLOB.dynamic_storyteller_type = picked
if("map")
var/datum/map_config/VM = config.maplist[.]