Reset variable on divorce

evilpuncker

vai se tratar garota
Messages
2,178
Points
0
Age
109
Location
bronzil
Github
EPuncker
Emulator
Client Version
2019-05-30a MAIN
I was testing marriage.txt NPC and noticed that if I do @divorce the permanent character variable "wedding_sign" is not reset back to 0 at least in atcommand, maybe that is true in script command as well, what about making this variable reset so users have to apply for a marriage again, providing the items to NPC again

 
That's an easy to do.

Code:
pc_setglobalreg(sd, "wedding_sign", 0);
*fixed
default_biggrin.png


 
Last edited by a moderator:
Back
Top