We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 165e97a commit 9c1f6b2Copy full SHA for 9c1f6b2
1 file changed
src/core/modules/players/players_wrap.cpp
@@ -379,8 +379,8 @@ void export_player_wrapper(scope _players)
379
380
_PlayerMixin.add_property(
381
"is_ducking",
382
- &PlayerMixin::GetIsDucked,
383
- &PlayerMixin::SetIsDucked,
+ &PlayerMixin::GetIsDucking,
+ &PlayerMixin::SetIsDucking,
384
"Return whether the player is duckeding.\n\n"
385
":rtype: bool");
386
@@ -533,8 +533,8 @@ void export_player_wrapper(scope _players)
533
534
535
"active_weapon_handle",
536
- &PlayerMixin::GetLastHitgroup,
537
- &PlayerMixin::SetLastHitgroup,
+ &PlayerMixin::GetActiveWeaponHandle,
+ &PlayerMixin::SetActiveWeaponHandle,
538
"Get/set the player's active weapon_handle.\n\n"
539
":rtype: int");
540
0 commit comments