mirror of
https://github.com/redstrate/Kawari.git
synced 2025-05-19 17:27:45 +00:00
Fix the character currently equipped items not showing in the lobby
We were missing two additional integers in the ClientSelectData work definition. Once we added those, the equipment now shows up!
This commit is contained in:
parent
6930c18d2a
commit
1cdd2d4bff
2 changed files with 6 additions and 0 deletions
|
@ -57,8 +57,10 @@ pub struct ClientSelectData {
|
|||
pub remake_minutes_remaining: i32,
|
||||
pub voice_id: i32, // presumably
|
||||
pub unk20: i32,
|
||||
pub unk21: i32,
|
||||
pub world_name: String,
|
||||
pub unk22: i32,
|
||||
pub unk23: i32,
|
||||
}
|
||||
|
||||
impl ClientSelectData {
|
||||
|
@ -87,8 +89,10 @@ impl ClientSelectData {
|
|||
self.remake_minutes_remaining.to_string(),
|
||||
self.voice_id.to_string(),
|
||||
self.unk20.to_string(),
|
||||
self.unk21.to_string(),
|
||||
self.world_name,
|
||||
self.unk22.to_string(),
|
||||
self.unk23.to_string(),
|
||||
]);
|
||||
|
||||
let obj = json!({
|
||||
|
|
|
@ -291,8 +291,10 @@ impl WorldDatabase {
|
|||
remake_minutes_remaining: 0,
|
||||
voice_id: chara_make.voice_id,
|
||||
unk20: 0,
|
||||
unk21: 0,
|
||||
world_name: String::new(),
|
||||
unk22: 0,
|
||||
unk23: 0,
|
||||
};
|
||||
|
||||
characters.push(CharacterDetails {
|
||||
|
|
Loading…
Add table
Reference in a new issue