Skip to content

Commit

Permalink
фикс (#13522)
Browse files Browse the repository at this point in the history
  • Loading branch information
KIBORG04 authored Sep 8, 2024
1 parent 6f30076 commit c9b4025
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code/modules/goonchat/browserOutput.dm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ var/global/list/bicon_cache = list()
var/iconData = iconCache.ExportText(iconKey)
var/list/partial = splittext(iconData, "{")
var/list/almost_partial = splittext(partial[2], "}")
return replacetext(copytext(almost_partial[1], 3, -5), "\n", "")
var/base64 = copytext(almost_partial[1], 3, -2)
return replacetext(base64, "\n", "")

/proc/bicon(obj, css = "class='icon'", time_stamp = -1) // if you don't want any styling just pass null to css
if (!obj)
Expand Down

0 comments on commit c9b4025

Please sign in to comment.