Portrait Renaming on Full View Structs

This commit is contained in:
Neshura 2023-09-07 22:00:20 +02:00
parent 849b82cef4
commit d91af52811
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 4 additions and 4 deletions

View file

@ -184,8 +184,8 @@ pub(crate) async fn full_view_data(data: web::Data<AppState>) -> impl Responder
gestalt: empire.gestalt,
machine: false,
group: empire.group_id,
empire_portrait: empire.portrait_id,
empire_portrait_group: empire.portrait_group_id,
portrait_id: empire.portrait_id,
portrait_group_id: empire.portrait_group_id,
discord_user: None,
ethics: HashMap::new(),
};

View file

@ -207,8 +207,8 @@ pub struct ChellarisEmpireLegacy {
pub group: i32,
pub gestalt: bool,
pub machine: bool,
pub empire_portrait: i32,
pub empire_portrait_group: i32,
pub portrait_id: i32,
pub portrait_group_id: i32,
pub discord_user: Option<String>,
pub ethics: HashMap<i32, EmpireEthicLegacy>,
}