Skip to content

Commit

Permalink
Fix missing js_name for creep heal
Browse files Browse the repository at this point in the history
  • Loading branch information
shanemadden committed Jul 26, 2021
1 parent 2a12d3d commit 8f8281c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/objects/impls/creep.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ extern "C" {
/// Heal a [`Creep`] or [`PowerCreep`] in melee range, including itself.
///
/// [Screeps documentation](https://docs.screeps.com/api/#Creep.heal)
#[wasm_bindgen(final, method)]
#[wasm_bindgen(final, method, js_name = heal)]
fn heal_internal(this: &Creep, target: &RoomObject) -> ReturnCode;

/// Move one square in the specified direction.
Expand Down

0 comments on commit 8f8281c

Please sign in to comment.