Skip to content

Commit

Permalink
chore(extra-natives/five): Remove debug traces
Browse files Browse the repository at this point in the history
  • Loading branch information
Explooosion-code committed Sep 19, 2024
1 parent 341dcc5 commit afd796c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1533,14 +1533,11 @@ static HookFunction initFunction([]()
{
weight = 0.0;
}
trace("Setting weight %.6f was %.6f\n", weight, *PassengerMassPtr);
*PassengerMassPtr = weight;
});

fx::ScriptEngine::RegisterNativeHandler("GET_GLOBAL_PASSENGER_MASS_MULTIPLIER", [](fx::ScriptContext& context)
{
trace("Weight is %.6f\n", *PassengerMassPtr);

context.SetResult<float>(*PassengerMassPtr);
});

Expand Down

0 comments on commit afd796c

Please sign in to comment.