1
0
Fork 0
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:
Alula 2022-01-08 15:19:57 +01:00
parent 7ac4346012
commit 3e6adbe3c1
No known key found for this signature in database
GPG key ID: 3E00485503A1D8BA

View file

@ -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;