From c3db46da13a5ddf9407a13c8a5613eaa4c7b1601 Mon Sep 17 00:00:00 2001 From: kinther Date: Fri, 26 Dec 2025 08:03:54 -0800 Subject: [PATCH] Fix character creation state issue --- src/modify.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/modify.c b/src/modify.c index f89e583..aeb0887 100644 --- a/src/modify.c +++ b/src/modify.c @@ -230,7 +230,10 @@ void string_add(struct descriptor_data *d, char *str) for (i = 0; cleanup_modes[i].func; i++) if (STATE(d) == cleanup_modes[i].mode) - (*cleanup_modes[i].func)(d, action); + { + (*cleanup_modes[i].func)(d, action); + break; + } /* Common post cleanup code. */ chain_write = (d->str && d->str != orig_str);