@@ -193,12 +193,14 @@ CommandCost CmdRenameGroup(TileIndex til
/* Delete the old name */
DeleteName(g->string_id);
/* Assign the new one */
g->string_id = str;
InvalidateWindowData(GetWCForVT(g->vehicle_type), (g->vehicle_type << 11) | VLW_GROUP_LIST | _current_player);
} else {
DeleteName(str);
}
return CommandCost();
Status change: