From 82c9383a39dfc21b8b012685a072123c7618df21 Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Sun, 19 Jan 2025 14:14:12 -0800 Subject: [PATCH] Fix math.map/math.lerp merge fallout (#1621) - 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 7bc99c35..9bd21607 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; }