Skip to content
Snippets Groups Projects
Commit aad70851 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

reLoad() does not return the record.

Fixes error reported by Rowyn Sand (Ravne) with accepting a marriage
proposal (issue #757)
parent f0fe4dc4
Branches
Tags
1 merge request!455Update branch with changes from master
Pipeline #6419 passed
...@@ -4097,7 +4097,7 @@ function lw(str, ext) ...@@ -4097,7 +4097,7 @@ function lw(str, ext)
throw new Error('Out of sync with server after Marry'); 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. // DIFF: See what happens here... this check is new.
if (mop.married_to === -1 || mop.married_to === player.Record) { if (mop.married_to === -1 || mop.married_to === player.Record) {
mop.married_to = player.Record; mop.married_to = player.Record;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment