Skip to content

Commit

Permalink
fix: Remove rivets::initialize!(); call as it no longer exists
Browse files Browse the repository at this point in the history
  • Loading branch information
notnotmelon committed Aug 11, 2024
1 parent 032567d commit b6ad397
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ fn run(
}

#[detour(?valid@LuaSurface@@UEBA_NXZ)]
const fn valid(this: Opaque) -> bool {
fn valid(this: Opaque) -> bool {
println!("Hello from Rust!");
false
}

rivets::initialize!();
}

0 comments on commit b6ad397

Please sign in to comment.