Skip to content

Commit 552becb

Browse files
committed
fix:fix error when using rustrover
1 parent b2e0916 commit 552becb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gdrust/src/player.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ impl Player {
160160
#[constant]
161161
const MAX_HEALTH: i32 = 100;
162162
#[signal]
163-
fn hit_sig(attack: i32);
163+
fn hit_sig(attack: i32) {}
164164

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

0 commit comments

Comments
 (0)