mirror of
https://github.com/tbamud/tbamud.git
synced 2026-03-20 03:06:32 +01:00
Fix character creation state issue
This commit is contained in:
parent
e0bfb2bc64
commit
c3db46da13
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue