Skip to content

Commit 9c1f6b2

Browse files
committed
Fixed is_ducking and active_weapon_handle
1 parent 165e97a commit 9c1f6b2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/core/modules/players/players_wrap.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,8 +379,8 @@ void export_player_wrapper(scope _players)
379379

380380
_PlayerMixin.add_property(
381381
"is_ducking",
382-
&PlayerMixin::GetIsDucked,
383-
&PlayerMixin::SetIsDucked,
382+
&PlayerMixin::GetIsDucking,
383+
&PlayerMixin::SetIsDucking,
384384
"Return whether the player is duckeding.\n\n"
385385
":rtype: bool");
386386

@@ -533,8 +533,8 @@ void export_player_wrapper(scope _players)
533533

534534
_PlayerMixin.add_property(
535535
"active_weapon_handle",
536-
&PlayerMixin::GetLastHitgroup,
537-
&PlayerMixin::SetLastHitgroup,
536+
&PlayerMixin::GetActiveWeaponHandle,
537+
&PlayerMixin::SetActiveWeaponHandle,
538538
"Get/set the player's active weapon_handle.\n\n"
539539
":rtype: int");
540540

0 commit comments

Comments
 (0)