mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Renames flatten_list proc to assoc_to_values (#93453)
## About The Pull Request `/proc/flatten_list()` -> `/proc/assoc_to_values()`, also changes the code doc to mirror the language of `assoc_to_keys()`'s code doc ## Why It's Good For The Game Having a proc called `assoc_to_keys` that takes an associative list and returns a list of the keys, and also having a proc that takes an associative list and returns a list of the values, and the latter not being called `assoc_to_values` is very funny ## Changelog 🆑 code: renamed flatten_list proc to assoc_to_values /🆑 --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
@@ -59,9 +59,9 @@ ADMIN_VERB(dynamic_tester, R_DEBUG, "Dynamic Tester", "See dynamic probabilities
|
||||
|
||||
data["tier"] = tier
|
||||
data["num_players"] = num_players
|
||||
data["roundstart_ruleset_report"] = flatten_list(roundstart_ruleset_report)
|
||||
data["light_midround_ruleset_report"] = flatten_list(light_midround_ruleset_report)
|
||||
data["heavy_midround_ruleset_report"] = flatten_list(heavy_midround_ruleset_report)
|
||||
data["roundstart_ruleset_report"] = assoc_to_values(roundstart_ruleset_report)
|
||||
data["light_midround_ruleset_report"] = assoc_to_values(light_midround_ruleset_report)
|
||||
data["heavy_midround_ruleset_report"] = assoc_to_values(heavy_midround_ruleset_report)
|
||||
|
||||
return data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user