From 4dfec1f1d37303d8ccf1e0c00e87a28295f72f50 Mon Sep 17 00:00:00 2001 From: Fluffy <65877598+FluffyGhoster@users.noreply.github.com> Date: Fri, 27 Sep 2024 10:13:13 +0200 Subject: [PATCH] Fixed VV not showing the list values (#19938) Fixed VV not showing the list values --- .../admin/view_variables/view_variables.dm | 4 +- html/changelogs/fluffyghost-fixlistvv.yml | 58 +++++++++++++++++++ 2 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 html/changelogs/fluffyghost-fixlistvv.yml diff --git a/code/modules/admin/view_variables/view_variables.dm b/code/modules/admin/view_variables/view_variables.dm index 2b36c8c3639..80b1f61f60b 100644 --- a/code/modules/admin/view_variables/view_variables.dm +++ b/code/modules/admin/view_variables/view_variables.dm @@ -163,9 +163,9 @@ var/entry = L[index] if(IS_NORMAL_LIST(L) && IS_VALID_ASSOC_KEY(entry)) if(!isnull(L[entry])) - extra += "
  • [index]: [make_view_variables_value(entry)] -> [make_view_variables_value(L[entry])]
  • " + extra += "
  • [index]: [make_view_variables_value(D, entry)] -> [make_view_variables_value(D, L[entry])]
  • " else - extra += "
  • [index]: [make_view_variables_value(entry)]
  • " + extra += "
  • [index]: [make_view_variables_value(D, entry)]
  • " extra += "" else if(length(L) >= 100) vtext = "([length(L)]): " diff --git a/html/changelogs/fluffyghost-fixlistvv.yml b/html/changelogs/fluffyghost-fixlistvv.yml new file mode 100644 index 00000000000..70adbfebbb1 --- /dev/null +++ b/html/changelogs/fluffyghost-fixlistvv.yml @@ -0,0 +1,58 @@ +################################ +# Example Changelog File +# +# Note: This file, and files beginning with ".", and files that don't end in ".yml" will not be read. If you change this file, you will look really dumb. +# +# Your changelog will be merged with a master changelog. (New stuff added only, and only on the date entry for the day it was merged.) +# When it is, any changes listed below will disappear. +# +# Valid Prefixes: +# bugfix +# - (fixes bugs) +# wip +# - (work in progress) +# qol +# - (quality of life) +# soundadd +# - (adds a sound) +# sounddel +# - (removes a sound) +# rscadd +# - (adds a feature) +# rscdel +# - (removes a feature) +# imageadd +# - (adds an image or sprite) +# imagedel +# - (removes an image or sprite) +# spellcheck +# - (fixes spelling or grammar) +# experiment +# - (experimental change) +# balance +# - (balance changes) +# code_imp +# - (misc internal code change) +# refactor +# - (refactors code) +# config +# - (makes a change to the config files) +# admin +# - (makes changes to administrator tools) +# server +# - (miscellaneous changes to server) +################################# + +# Your name. +author: FluffyGhost + +# Optional: Remove this file after generating master changelog. Useful for PR changelogs that won't get used again. +delete-after: True + +# Any changes you've made. See valid prefix list above. +# INDENT WITH TWO SPACES. NOT TABS. SPACES. +# SCREW THIS UP AND IT WON'T WORK. +# Also, this gets changed to [] after reading. Just remove the brackets when you add new shit. +# Please surround your changes in double quotes ("). It works without them, but if you use certain characters it screws up compiling. The quotes will not show up in the changelog. +changes: + - bugfix: "Fixed VV not showing the list values."