Merge pull request #9 from MrRar/main

Add support for new automobiles painter
master
Alexsandro Percy 2022-08-13 16:47:26 -03:00 committed by GitHub
commit 527c0382ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -216,6 +216,10 @@ minetest.register_entity("hidroplane:hidro", {
_inv = nil,
_inv_id = "",
_change_color = function(self, colstr)
airutils.paint(self, colstr, "hidroplane_painting.png")
end,
get_staticdata = function(self) -- unloaded/unloads ... is now saved
return minetest.serialize({
--stored_sound_handle = self.sound_handle,