WebHost: Fix Named Range displays on Player Options page (#3521)
* Player Options: Fix Named Range displays * Also add validation to the NamedRange class itself * Don't break Stardew * Comment * Do replace first so title works correctly * Bring change to Weighted Options as well
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
The following values have special meanings, and may fall outside the normal range.
|
||||
<ul>
|
||||
{% for name, value in option.special_range_names.items() %}
|
||||
<li>{{ value }}: {{ name }}</li>
|
||||
<li>{{ value }}: {{ name|replace("_", " ")|title }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user