mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 13:05:44 +01:00
Misc fixes (#1370)
changes: bugfix: "Fixed formatting of forms when held up to a security camera." spellcheck: "Fixed grammar error in IA and CE's headsets." Fixes #1196. Fixes #1358. Fixes #1376. Fixes #1347. Replaces some BYOND text macros with spans. Issues: M'sai's preview image does not work (missing image).
This commit is contained in:
@@ -42,8 +42,12 @@
|
||||
/obj/item/weapon/paper/proc/set_content(text,title)
|
||||
if(title)
|
||||
name = title
|
||||
info = html_encode(text)
|
||||
info = parsepencode(text)
|
||||
if (text && length(text))
|
||||
info = html_encode(text)
|
||||
info = parsepencode(text)
|
||||
else
|
||||
info = ""
|
||||
|
||||
update_icon()
|
||||
update_space(info)
|
||||
updateinfolinks()
|
||||
@@ -51,7 +55,7 @@
|
||||
/obj/item/weapon/paper/update_icon()
|
||||
if(icon_state == "paper_talisman")
|
||||
return
|
||||
else if(info)
|
||||
else if (info && length(trim(info)))
|
||||
icon_state = "paper_words"
|
||||
else
|
||||
icon_state = "paper"
|
||||
|
||||
Reference in New Issue
Block a user