aboutsummaryrefslogtreecommitdiff
path: root/gamemode/utility/svg
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2017-08-24 18:08:10 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2017-08-24 18:08:10 -0400
commit61bc16dae5a1b61bcd237d9f0be36125829d95b1 (patch)
treec9deebda1190e23073240d2bbe4ecabee668d742 /gamemode/utility/svg
parent0f3211e4fb0cf27684079e6195995947c9f9027f (diff)
downloadartery-61bc16dae5a1b61bcd237d9f0be36125829d95b1.tar.gz
artery-61bc16dae5a1b61bcd237d9f0be36125829d95b1.tar.bz2
artery-61bc16dae5a1b61bcd237d9f0be36125829d95b1.zip
Various update
Diffstat (limited to 'gamemode/utility/svg')
-rw-r--r--gamemode/utility/svg/cl_svg.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/gamemode/utility/svg/cl_svg.lua b/gamemode/utility/svg/cl_svg.lua
index 1ab37bb..6f34390 100644
--- a/gamemode/utility/svg/cl_svg.lua
+++ b/gamemode/utility/svg/cl_svg.lua
@@ -68,7 +68,7 @@ function svg.MaterialFromSVG(spath,background,foreground)
end
html:SetHTML(string.format([[
<style>%s%sbody{overflow:hidden}</style><body>%s</body>
-]],background and bgf or "",fgf and foreground or "",svgdata))
+]],background and bgf or "",foreground and fgf or "",svgdata))
local mat = {}
toprocess[#toprocess + 1] = {mat,html}
return mat