Skip to content

Commit

Permalink
Fix math.map/math.lerp merge fallout (#1621)
Browse files Browse the repository at this point in the history
- LuauMathMap flag was not removed but the uses of it were
- LuauMathLerp addition to math table was duplicated
  • Loading branch information
zeux authored Jan 19, 2025
1 parent 2904750 commit 82c9383
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions VM/src/lmathlib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include <math.h>
#include <time.h>

LUAU_FASTFLAGVARIABLE(LuauMathMap)
LUAU_FASTFLAGVARIABLE(LuauMathLerp)

#undef PI
Expand Down Expand Up @@ -490,11 +489,5 @@ int luaopen_math(lua_State* L)
lua_setfield(L, -2, "lerp");
}

if (FFlag::LuauMathLerp)
{
lua_pushcfunction(L, math_lerp, "lerp");
lua_setfield(L, -2, "lerp");
}

return 1;
}

0 comments on commit 82c9383

Please sign in to comment.