Skip to content

Commit

Permalink
Merge pull request #1 from MrRar/main
Browse files Browse the repository at this point in the history
Add support for new automobiles painter
  • Loading branch information
APercy committed Aug 13, 2022
2 parents 2003d91 + ea404e5 commit 63d6525
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions supercub_entities.lua
Expand Up @@ -174,6 +174,10 @@ minetest.register_entity("supercub:supercub", {
_inv = nil,
_inv_id = "",

_change_color = function(self, colstr)
airutils.paint(self, colstr, "supercub_painting.png")
end,

get_staticdata = function(self) -- unloaded/unloads ... is now saved
return minetest.serialize({
--stored_sound_handle = self.sound_handle,
Expand Down

0 comments on commit 63d6525

Please sign in to comment.