diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-06-07 00:01:40 +0200 |
---|---|---|
committer | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-06-07 00:01:40 +0200 |
commit | f5938f7e7cc21d46f5c9f9f4407e6b5eb5684dba (patch) | |
tree | cb65494df64354a74d78996ed90f184c22a5d2f6 | |
parent | 89a7f6ad4208185d41cc4a19f8b1917ff42db000 (diff) | |
download | hercules-f5938f7e7cc21d46f5c9f9f4407e6b5eb5684dba.tar.gz hercules-f5938f7e7cc21d46f5c9f9f4407e6b5eb5684dba.tar.bz2 hercules-f5938f7e7cc21d46f5c9f9f4407e6b5eb5684dba.tar.xz hercules-f5938f7e7cc21d46f5c9f9f4407e6b5eb5684dba.zip |
Save party data if options are changed in inter_party_check_lv()
-rw-r--r-- | src/char/int_party.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/char/int_party.c b/src/char/int_party.c index 1c1441749..62633b4a8 100644 --- a/src/char/int_party.c +++ b/src/char/int_party.c @@ -67,6 +67,7 @@ static int inter_party_check_lv(struct party_data *p) if (p->party.exp == 1 && inter_party->check_exp_share(p) == 0) { p->party.exp = 0; mapif->party_optionchanged(0, &p->party, 0, 0); + inter_party->tosql(&p->party, PS_BASIC, 0); return 0; } |