diff options
Diffstat (limited to 'scripts/gendispatch.lua')
-rw-r--r-- | scripts/gendispatch.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/gendispatch.lua b/scripts/gendispatch.lua index 40507d0afe..65e4559491 100644 --- a/scripts/gendispatch.lua +++ b/scripts/gendispatch.lua @@ -133,6 +133,11 @@ for i,f in ipairs(shallowcopy(functions)) do end local newf = shallowcopy(f) newf.name = newname + if newname == "ui_try_resize" then + -- The return type was incorrectly set to Object in 0.1.5. + -- Keep it that way for clients that rely on this. + newf.return_type = "Object" + end newf.impl_name = f.name newf.noeval = true newf.deprecated_since = 1 |