chore: explicit functional-style cast of weapon_animation getter
This commit is contained in:
parent
2c5fdfcc3e
commit
51f86e363e
|
@ -43,7 +43,7 @@ gd::Variant UnitWorldState::get_world_property(gd::String property) {
|
|||
}
|
||||
|
||||
gd::String UnitWorldState::get_weapon_animation() const {
|
||||
return "melee_attack";
|
||||
return gd::String("melee_attack");
|
||||
}
|
||||
|
||||
bool UnitWorldState::get_can_see_target() {
|
||||
|
|
Loading…
Reference in a new issue