From 326f02d08957843f5317d5f58feb7682e1403911 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Sun, 1 Sep 2019 07:41:44 +0000
Subject: [PATCH] Variable 'as' used in on_exit() handler was not in scope on
 exit.

---
 xtrn/lord/aratime/aratime.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xtrn/lord/aratime/aratime.js b/xtrn/lord/aratime/aratime.js
index dce324cd8b..2ad191566f 100644
--- a/xtrn/lord/aratime/aratime.js
+++ b/xtrn/lord/aratime/aratime.js
@@ -12,6 +12,7 @@ var Arag_Defs = [
 ];
 
 var astate;
+var as;
 
 function menu()
 {
@@ -160,7 +161,6 @@ function menu()
 
 function chkmaint()
 {
-	var as;
 	var i;
 
 	as = new RecordFile(js.exec_dir+'aragtime.dat', Arag_Defs);
-- 
GitLab