Refactors all (F) links into using a define

🆑
bugfix: Clicking the (F) link when an AI talks in binary chat will
follow its camera eye, the same as when (F) is clicked for its radio
chat.
/🆑

FOLLOW_LINK is a define that creates the clickable (F) link, so it
doesn't have to be typed painstakingly out every time we want to give
that link to an observer.
This commit is contained in:
Jack Edge
2016-06-03 15:29:28 +01:00
parent a265bc5dd6
commit e13725b179
21 changed files with 69 additions and 34 deletions
+2 -1
View File
@@ -29,5 +29,6 @@
speaker = S.eyeobj
else
speaker = V.source
src << "<a href=?src=\ref[src];follow=\ref[speaker]>(F)</a> [message]"
var/link = FOLLOW_LINK(src, speaker)
src << "[link] [message]"