From 89d821e1b419288bdda141a14aee780576149450 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Sat, 14 Mar 2020 08:28:56 +0000
Subject: [PATCH] Forced-reset the console attributes when returning from a
 door.

---
 exec/xtrn_sec.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/exec/xtrn_sec.js b/exec/xtrn_sec.js
index ebf829ed51..614845fa48 100644
--- a/exec/xtrn_sec.js
+++ b/exec/xtrn_sec.js
@@ -50,6 +50,8 @@ function exec_xtrn(prog)
 		eval(options.eval_before_exec);
 	load('fonts.js', 'xtrn:' + prog.code);
 	bbs.exec_xtrn(prog.code); 
+	console.attributes = 0;
+	console.attributes = LIGHTGRAY;
 	load('fonts.js', 'default');
 	if(options.eval_after_exec)
 		eval(options.eval_after_exec);
-- 
GitLab