Skip to content

Commit

Permalink
rename setFixed to repair
Browse files Browse the repository at this point in the history
Former-commit-id: c3afd6c
  • Loading branch information
martonp96 committed Dec 5, 2020
1 parent 63adbf5 commit 8932a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bindings/Vehicle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ extern V8Class v8Vehicle("Vehicle", v8Entity, Constructor, [](v8::Local<v8::Func
proto->Set(v8::String::NewFromUtf8(isolate, "setArmoredWindowShootCount"), v8::FunctionTemplate::New(isolate, &SetArmoredWindowShootCount));
proto->Set(v8::String::NewFromUtf8(isolate, "getDamageStatusBase64"), v8::FunctionTemplate::New(isolate, &GetDamageStatus));
proto->Set(v8::String::NewFromUtf8(isolate, "setDamageStatusBase64"), v8::FunctionTemplate::New(isolate, &SetDamageStatus));
proto->Set(v8::String::NewFromUtf8(isolate, "setFixed"), v8::FunctionTemplate::New(isolate, &SetFixed));
proto->Set(v8::String::NewFromUtf8(isolate, "repair"), v8::FunctionTemplate::New(isolate, &SetFixed));

//Script getters/setters
proto->SetAccessor(v8::String::NewFromUtf8(isolate, "manualEngineControl"), &ManualEngineControlGetter, &ManualEngineControlSetter);
Expand Down

0 comments on commit 8932a1f

Please sign in to comment.