Skip to content

Commit

Permalink
Fix player creation interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Zerthox committed Dec 14, 2023
1 parent ad18645 commit c9e7c38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "arc_util"
version = "0.11.0"
version = "0.11.1"
edition = "2021"
authors = ["Zerthox"]
repository = "https://github.com/zerthox/arcdps-utils"
Expand Down
2 changes: 1 addition & 1 deletion src/tracking/player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ impl Player {
}

/// Creates a new player from tracking change agents.
pub fn from_tracking_change(src: Agent, dst: Agent) -> Option<Self> {
pub fn from_tracking_change(src: &Agent, dst: &Agent) -> Option<Self> {
debug_assert!(src.elite == 0 && src.prof != 0);

let acc_name = dst.name()?;
Expand Down

0 comments on commit c9e7c38

Please sign in to comment.