Merge remote-tracking branch 'origin/testing' into compatibility

This commit is contained in:
kay27 2022-02-04 23:54:48 +04:00
commit 7a5d632449
1 changed files with 5 additions and 1 deletions

View File

@ -52,7 +52,11 @@ local function get_visual_size(obj)
return boat_visual_size return boat_visual_size
end end
end end
return obj:get_properties().visual_size local obj_properties = obj:get_properties()
if not obj_properties then
return boat_visual_size
end
return obj_properties.visual_size
end end
local function set_attach(boat) local function set_attach(boat)