Add support for new automobiles painter

master^2
Johannes Fritz 2022-08-10 12:28:57 -05:00
parent e918dac4f6
commit e38fc72313
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,