summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 8dfdf47..67e280b 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -6695,7 +6695,11 @@ int pc_divorce(struct map_session_data *sd)
}
p_sd->status.partner_id=0;
sd->status.partner_id=0;
- map_scriptcont(sd, sd->npc_id);
+
+ if (sd->npc_flags.divorce){
+ sd->npc_flags.divorce = 0;
+ map_scriptcont(sd, sd->npc_id);
+ }
}
else
chrif_send_divorce(sd->status.char_id);