Skip to content

Commit

Permalink
client: Fix LocalPed & LocalVehicle constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
xxshady authored Sep 30, 2023
1 parent ec8db97 commit 0a13aad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/bindings/LocalPed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ static void Constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
{
V8_GET_ISOLATE_CONTEXT_RESOURCE();
V8_CHECK_CONSTRUCTOR();
V8_CHECK_ARGS_LEN(6);
V8_CHECK_ARGS_LEN_MIN_MAX(4, 6);

uint32_t modelHash;
if(info[0]->IsString())
Expand Down
2 changes: 1 addition & 1 deletion client/src/bindings/LocalVehicle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ static void Constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
{
V8_GET_ISOLATE_CONTEXT_RESOURCE();
V8_CHECK_CONSTRUCTOR();
V8_CHECK_ARGS_LEN(6);
V8_CHECK_ARGS_LEN_MIN_MAX(4, 6);

uint32_t modelHash;
if(info[0]->IsString())
Expand Down

0 comments on commit 0a13aad

Please sign in to comment.