1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | @@ -3942,7 +3942,13 @@ int script_reload(void) { if( sd == NULL ) return true; - st->state = STOP; + if( sd->state.dialog == 1 ) + st->state = STOP; + else { + ShowDebug("misuse of 'close2'! using it without sending a mes window halts the character! fixing...\n"); + script_reportsrc(st); + } + clif->scriptclose(sd, st->oid); return true; } |