Skip to content

Commit

Permalink
fix:fix error when using rustrover
Browse files Browse the repository at this point in the history
  • Loading branch information
limuy2022 committed Jun 23, 2024
1 parent b2e0916 commit 552becb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gdrust/src/player.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ impl Player {
#[constant]
const MAX_HEALTH: i32 = 100;
#[signal]
fn hit_sig(attack: i32);
fn hit_sig(attack: i32) {}

#[func]
pub fn hit(&mut self, attack: i32) {
Expand Down

0 comments on commit 552becb

Please sign in to comment.