fix game skill clear

This commit is contained in:
ntr 2019-09-20 15:32:21 +10:00
parent 1b71c79bb9
commit 14070ac5c4

View File

@ -238,7 +238,7 @@ impl Construct {
pub fn from_skeleton(skeleton: &ConstructSkeleton) -> Construct {
return Construct {
id: skeleton.id,
account: skeleton.id,
account: skeleton.account,
img: skeleton.img,
name: skeleton.name.clone(),
@ -249,7 +249,7 @@ impl Construct {
pub fn to_skeleton(&self) -> ConstructSkeleton {
ConstructSkeleton {
id: self.id,
account: self.id,
account: self.account,
img: self.img,
name: self.name.clone(),
}