From aad708518b96d4cbcea4773d8d96a135580fdd12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Wed, 15 May 2024 23:32:18 -0400
Subject: [PATCH] reLoad() does not return the record.

Fixes error reported by Rowyn Sand (Ravne) with accepting a marriage
proposal (issue #757)
---
 xtrn/lord/lord.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xtrn/lord/lord.js b/xtrn/lord/lord.js
index 107c4a5e81..9b11dd68fc 100644
--- a/xtrn/lord/lord.js
+++ b/xtrn/lord/lord.js
@@ -4097,7 +4097,7 @@ function lw(str, ext)
 					throw new Error('Out of sync with server after Marry');
 				}
 			}
-			mop = mop.reLoad(true);
+			mop.reLoad(true);
 			// DIFF: See what happens here... this check is new.
 			if (mop.married_to === -1 || mop.married_to === player.Record) {
 				mop.married_to = player.Record;
-- 
GitLab