From d978d671a29b3dce62632bb33b458e51140ec5a0 Mon Sep 17 00:00:00 2001 From: Andy Newjack Date: Mon, 20 Apr 2020 00:42:29 -0300 Subject: [PATCH] dont build huge things we aren't bob the builder --- src/entity/character.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/entity/character.rs b/src/entity/character.rs index f4c51af..5d898b0 100644 --- a/src/entity/character.rs +++ b/src/entity/character.rs @@ -2,7 +2,7 @@ use std::convert::{From, Into, TryFrom, TryInto}; use std::collections::HashMap; use libpso::packet::ship::{UpdateConfig, WriteInfoboard}; -use libpso::character::character::{Character, FullCharacter}; +use libpso::character::character::{DEFAULT_PALETTE_CONFIG, DEFAULT_TECH_MENU}; use crate::entity::item::tech::Technique; use crate::entity::account::UserAccountId; @@ -190,7 +190,7 @@ pub struct CharacterConfig { impl CharacterConfig { fn new() -> CharacterConfig { CharacterConfig { - raw_data: Character::default().config, + raw_data: DEFAULT_PALETTE_CONFIG, } } @@ -237,7 +237,7 @@ pub struct CharacterTechMenu { impl CharacterTechMenu { fn new() -> CharacterTechMenu { CharacterTechMenu { - tech_menu: FullCharacter::default().tech_menu, + tech_menu: DEFAULT_TECH_MENU, } }