From 87505ab0984bb1925e8761bdd22f37b860d5dbf3 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Sun, 19 Jan 2025 12:48:19 -0800 Subject: [PATCH] Fix math.map/math.lerp merge fallout - LuauMathMap flag was not removed but the uses of it were - LuauMathLerp addition to math table was duplicated --- VM/src/lmathlib.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/VM/src/lmathlib.cpp b/VM/src/lmathlib.cpp index 7bc99c358..9bd216073 100644 --- a/VM/src/lmathlib.cpp +++ b/VM/src/lmathlib.cpp @@ -7,7 +7,6 @@ #include #include -LUAU_FASTFLAGVARIABLE(LuauMathMap) LUAU_FASTFLAGVARIABLE(LuauMathLerp) #undef PI @@ -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; }