porting CEV-Eris pickweight procs.
This commit is contained in:
@@ -272,7 +272,7 @@
|
||||
reports += config.mode_reports[config_tag]
|
||||
Count++
|
||||
for(var/i in Count to rand(3,5)) //Between three and five wrong entries on the list.
|
||||
var/false_report_type = pickweightAllowZero(report_weights)
|
||||
var/false_report_type = pickweight(report_weights, 0)
|
||||
report_weights[false_report_type] = 0 //Make it so the same false report won't be selected twice
|
||||
reports += config.mode_reports[false_report_type]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user