From dc74901638dac635a329fcdb1a268354b8a02a84 Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Tue, 14 Jun 2011 17:57:51 -0500 Subject: [PATCH] Clean up linefeed changes... --- web/js/chatballoon.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/js/chatballoon.js b/web/js/chatballoon.js index de8cfbe8..6dc928f2 100644 --- a/web/js/chatballoon.js +++ b/web/js/chatballoon.js @@ -10,6 +10,9 @@ componentconstructors['chatballoon'] = function(dynmap, configuration) { if (!playerMarker) { return; } + if (player.location.world != dynmap.world) { + return; + } var popup = me.chatpopups[message.name]; if (!popup) { popup = { lines: [ message.text ] };