From 6b281ddfb1e3cde5d0a0721e8a974f48b098f1df Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Wed, 25 Sep 2019 05:50:41 +0000
Subject: [PATCH] Actually update day in @datanewday

---
 xtrn/lord2/lord2.js | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/xtrn/lord2/lord2.js b/xtrn/lord2/lord2.js
index 5099e402b5..4e8b486f3a 100644
--- a/xtrn/lord2/lord2.js
+++ b/xtrn/lord2/lord2.js
@@ -2576,6 +2576,8 @@ rescan:
 				throw('Unable to open '+f.name+' at '+fname+':'+line);
 			d = f.readBin(4);
 			if (d != state.time) {
+				f.position = 0;
+				f.writeBin(state.time, 4);
 				for (i = 0; i < 250; i++)
 					f.writeBin(0, 4);
 			}
-- 
GitLab