Replace most panics in the core library with results
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -29,7 +29,7 @@ register! {
|
||||
defending: u8
|
||||
) -> f32 {
|
||||
let lib = lib.value_func_arc(&env).unwrap();
|
||||
lib.get_single_effectiveness(attacking.into(), defending.into())
|
||||
lib.get_single_effectiveness(attacking.into(), defending.into()).unwrap()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user