Skip to content

Commit

Permalink
Incorrect assert in networking_types (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
cBournhonesque authored Apr 15, 2024
1 parent cb36794 commit b5e4372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/networking_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,7 @@ impl NetworkingConfigEntry {
}

pub fn new_float(value_type: NetworkingConfigValue, value: f32) -> Self {
debug_assert_eq!(value_type.data_type(), NetworkingConfigDataType::Int64);
debug_assert_eq!(value_type.data_type(), NetworkingConfigDataType::Float);

let mut config = Self::new_uninitialized_config_value();
unsafe {
Expand Down

0 comments on commit b5e4372

Please sign in to comment.