Merge master into testing

This commit is contained in:
kay27 2022-04-23 20:15:43 +03:00
commit cd02080ca8
1 changed files with 6 additions and 4 deletions

View File

@ -166,6 +166,7 @@ function boat.on_activate(self, staticdata, dtime_s)
self._last_v = self._v
self._itemstring = data.itemstring
if data.textures then
while #data.textures < 5 do
table.insert(data.textures, data.textures[1])
end
@ -173,6 +174,7 @@ function boat.on_activate(self, staticdata, dtime_s)
self.object:set_properties({textures = data.textures})
end
end
end
function boat.get_staticdata(self)
if not self then return end