Portrait Renaming on Full View Structs
This commit is contained in:
parent
849b82cef4
commit
d91af52811
2 changed files with 4 additions and 4 deletions
|
@ -184,8 +184,8 @@ pub(crate) async fn full_view_data(data: web::Data<AppState>) -> impl Responder
|
||||||
gestalt: empire.gestalt,
|
gestalt: empire.gestalt,
|
||||||
machine: false,
|
machine: false,
|
||||||
group: empire.group_id,
|
group: empire.group_id,
|
||||||
empire_portrait: empire.portrait_id,
|
portrait_id: empire.portrait_id,
|
||||||
empire_portrait_group: empire.portrait_group_id,
|
portrait_group_id: empire.portrait_group_id,
|
||||||
discord_user: None,
|
discord_user: None,
|
||||||
ethics: HashMap::new(),
|
ethics: HashMap::new(),
|
||||||
};
|
};
|
||||||
|
|
|
@ -207,8 +207,8 @@ pub struct ChellarisEmpireLegacy {
|
||||||
pub group: i32,
|
pub group: i32,
|
||||||
pub gestalt: bool,
|
pub gestalt: bool,
|
||||||
pub machine: bool,
|
pub machine: bool,
|
||||||
pub empire_portrait: i32,
|
pub portrait_id: i32,
|
||||||
pub empire_portrait_group: i32,
|
pub portrait_group_id: i32,
|
||||||
pub discord_user: Option<String>,
|
pub discord_user: Option<String>,
|
||||||
pub ethics: HashMap<i32, EmpireEthicLegacy>,
|
pub ethics: HashMap<i32, EmpireEthicLegacy>,
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue