Fix #1181
This commit is contained in:
parent
0c9933c3e4
commit
702f163c13
@ -133,7 +133,7 @@ impl NyxHelper {
|
||||
}
|
||||
|
||||
/// Set a timeout for Nyx
|
||||
pub fn set_timeout(mut self, time: Duration) {
|
||||
pub fn set_timeout(&mut self, time: Duration) {
|
||||
let sec: u8 = time
|
||||
.as_secs()
|
||||
.try_into()
|
||||
|
Loading…
x
Reference in New Issue
Block a user