CharacterStats Response workaround

This commit is contained in:
Wiktor Mazur
2019-12-18 21:34:43 +01:00
parent 72d43bfce0
commit 88400b7e1c
+4
View File
@@ -174,6 +174,10 @@ fn generate_messages() -> String {
return_code: _, return_code: _,
debug_message: _ debug_message: _
}}) => {{ }}) => {{
if parameters.len() >= 40 {{ // TODO: Fix this workaround, on some configurations 253 isn't filled
return CharacterStats::parse(parameters);
}}
match parameters.get(&253u8) {{ match parameters.get(&253u8) {{
{} {}
_ => None _ => None