diff options
Diffstat (limited to 'player')
-rw-r--r-- | player/lua/defaults.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/player/lua/defaults.lua b/player/lua/defaults.lua index 4cdeef497f..3a55e3a206 100644 --- a/player/lua/defaults.lua +++ b/player/lua/defaults.lua @@ -1,3 +1,5 @@ +-- Compatibility shim for lua 5.2/5.3 +unpack = unpack or table.unpack -- these are used internally by lua.c mp.UNKNOWN_TYPE.info = "this value is inserted if the C type is not supported" |