diff --git a/files/scripts/compat/forward-compatible.lua b/files/scripts/compat/forward-compatible.lua index 88aa5e2..6f7657d 100644 --- a/files/scripts/compat/forward-compatible.lua +++ b/files/scripts/compat/forward-compatible.lua @@ -8,11 +8,14 @@ dofile("scripts/compat/no-deprecated.lua") incrFlag = nil decrFlag = nil entity_sound = nil -entity_toggleBone = nil -isPlat = nil -- should not matter on the Lua side what the platform is quit = nil -- mods should not do this ever doModSelect = nil doLoadMenu = nil entity_incrTargetLeaches = nil -- use avatar_incrLeaches() instead entity_decrTargetLeaches = nil -- use avatar_decrLeaches() instead entity_soundFreq = nil + +isPlat = nil -- should not matter on the Lua side what the platform is +PLAT_WIN = nil +PLAT_MAC = nil +PLAT_LNX = nil diff --git a/files/scripts/compat/internal/removenewfunctions.lua b/files/scripts/compat/internal/removenewfunctions.lua index f7e2151..d7f3059 100644 --- a/files/scripts/compat/internal/removenewfunctions.lua +++ b/files/scripts/compat/internal/removenewfunctions.lua @@ -31,6 +31,7 @@ local luafuncs51 = type = true, unpack = true, xpcall = true, + newproxy = true, } for k, f in pairs(_G) do diff --git a/files/scripts/compat/no-deprecated.lua b/files/scripts/compat/no-deprecated.lua index b49cdd5..5b0d4fd 100644 --- a/files/scripts/compat/no-deprecated.lua +++ b/files/scripts/compat/no-deprecated.lua @@ -7,6 +7,7 @@ entity_isSlowingToStopPath = nil entity_isNearGround = nil entity_resumePath = nil entity_move = nil +entity_toggleBone = nil createSpore = nil spawnAroundEntity = nil node_isEntityPast = nil