diff --git a/xtrn/lord2/lord2.js b/xtrn/lord2/lord2.js
index 5099e402b524c6fdac55d9eddacc0fe50caf42ca..4e8b486f3aed44f73458d3b0f4ea9863ea9a0bf4 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);
 			}