fix game skill clear
This commit is contained in:
parent
1b71c79bb9
commit
14070ac5c4
@ -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(),
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user