1
Fork 0
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:
Joshua Goins 2025-05-12 16:11:17 -04:00
parent 6930c18d2a
commit 1cdd2d4bff
2 changed files with 6 additions and 0 deletions

View file

@ -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!({

View file

@ -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 {