mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2024-11-26 15:23:38 +00:00
fix unused variable warning in nikumaru.rs
This commit is contained in:
parent
7ac4346012
commit
3e6adbe3c1
|
@ -19,7 +19,7 @@ impl NikumaruCounter {
|
|||
}
|
||||
|
||||
impl GameEntity<&Player> for NikumaruCounter {
|
||||
fn tick(&mut self, state: &mut SharedGameState, player: &Player) -> GameResult {
|
||||
fn tick(&mut self, _state: &mut SharedGameState, player: &Player) -> GameResult {
|
||||
if !player.equip.has_nikumaru() {
|
||||
self.tick = 0;
|
||||
self.shown = false;
|
||||
|
|
Loading…
Reference in a new issue