mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user