Skip to content
This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Commit 78fece2

Browse files
committed
fix Player_IsUsingOmp
1 parent 17560fc commit 78fece2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apidocs/api.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3747,7 +3747,7 @@
37473747
},
37483748
{
37493749
"ret": "bool",
3750-
"name": "Player_IsPlayerUsingOmp",
3750+
"name": "Player_IsUsingOmp",
37513751
"params": [
37523752
{
37533753
"name": "player",

src/Impl/Players/APIs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,7 @@ OMP_CAPI(Player_IsCuffed, bool(objectPtr player))
14161416
return cuffed;
14171417
}
14181418

1419-
OMP_CAPI(Player_IsPlayerUsingOmp, bool(objectPtr player))
1419+
OMP_CAPI(Player_IsUsingOmp, bool(objectPtr player))
14201420
{
14211421
POOL_ENTITY_RET(players, IPlayer, player, player_, false);
14221422
bool ret = bool(player_->isUsingOmp());

0 commit comments

Comments
 (0)