Skip to content

Commit 0390b82

Browse files
committed
- Fixed CPlayerInfo.get_edict() (RuntimeError: access violation - no RTTI data)
1 parent b84df87 commit 0390b82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/modules/players/players_wrap_python.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ void export_playerinfo()
182182
CLASS_METHOD(CPlayerInfo,
183183
get_edict,
184184
"Returns the player's CEdict instance.",
185-
manage_new_object_policy()
185+
reference_existing_object_policy()
186186
)
187187

188188
BOOST_END_CLASS()

0 commit comments

Comments
 (0)