mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
Adds NONE to empty bitflags in VV (#78355)
This has annoyed me forever. Let's do somethin about it.
This commit is contained in:
@@ -90,7 +90,10 @@
|
||||
for (var/i in GLOB.bitfields[name])
|
||||
if (value & GLOB.bitfields[name][i])
|
||||
flags += i
|
||||
if(length(flags))
|
||||
item = "[name_part] = [VV_HTML_ENCODE(jointext(flags, ", "))]"
|
||||
else
|
||||
item = "[name_part] = NONE"
|
||||
else
|
||||
item = "[name_part] = <span class='value'>[VV_HTML_ENCODE(value)]</span>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user