Adds no-class mode to bicon proc

... and makes the bicons in View Variables use it. This seems to stop a
small number of icon state classes from breaking Dream Seeker when
directly browsed to a client. I don't actually understand why, but it
works.
This commit is contained in:
Krausus
2016-07-29 09:00:07 -04:00
parent d12d78871d
commit f4e824e4c3
2 changed files with 9 additions and 6 deletions
+3 -3
View File
@@ -161,7 +161,7 @@
body += "<div align='center'><table width='100%'><tr><td width='50%'>"
if(sprite)
body += "<table align='center' width='100%'><tr><td>[bicon(D)]</td><td>"
body += "<table align='center' width='100%'><tr><td>[bicon(D, use_class=0)]</td><td>"
else
body += "<table align='center' width='100%'><tr><td>"
@@ -350,14 +350,14 @@ body
else if(isicon(value))
#ifdef VARSICON
html += "[name] = /icon (<span class='value'>[value]</span>) [bicon(value)]"
html += "[name] = /icon (<span class='value'>[value]</span>) [bicon(value, use_class=0)]"
#else
html += "[name] = /icon (<span class='value'>[value]</span>)"
#endif
else if(istype(value, /image))
#ifdef VARSICON
html += "<a href='?_src_=vars;Vars=\ref[value]'>[name] \ref[value]</a> = /image (<span class='value'>[value]</span>) [bicon(value)]"
html += "<a href='?_src_=vars;Vars=\ref[value]'>[name] \ref[value]</a> = /image (<span class='value'>[value]</span>) [bicon(value, use_class=0)]"
#else
html += "<a href='?_src_=vars;Vars=\ref[value]'>[name] \ref[value]</a> = /image (<span class='value'>[value]</span>)"
#endif