Skip to content

Commit

Permalink
Merge pull request #304 from xxshady/fix
Browse files Browse the repository at this point in the history
client: Fix LocalPed & LocalVehicle constructors
  • Loading branch information
xLuxy authored Sep 30, 2023
2 parents 5c88faa + 0a13aad commit 5ae5e5e
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 5ae5e5e

Please sign in to comment.