mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Fix logged error due to missing laser variants
This commit is contained in:
@@ -51,6 +51,10 @@ impl CubeInfo {
|
||||
(Typed::Str("ignoreInWeaponsList".into()), Typed::Bool(self.ignore_in_weapon_list.into())), // optional
|
||||
].into())
|
||||
}
|
||||
|
||||
pub fn as_transmissible_key_val(&self, cube_id: u32) -> (Typed, Typed) {
|
||||
(Typed::Str(hex::encode(cube_id.to_be_bytes()).into()), self.as_transmissible())
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
|
||||
Reference in New Issue
Block a user