diff --git a/polymer/eduke32/source/menus.c b/polymer/eduke32/source/menus.c index 98bb45324..799542179 100644 --- a/polymer/eduke32/source/menus.c +++ b/polymer/eduke32/source/menus.c @@ -2740,7 +2740,7 @@ static int32_t M_MenuEntryStringSubmit(MenuGroup_t *group, MenuEntry_t *entry, c returnvar = -1; } else - Bstrncpy(object->variable, object->editfield, object->maxlength); + Bstrncpy(object->variable, input, object->maxlength); G_SavePlayerMaybeMulti(group->currentEntry);