Skip to content

Commit

Permalink
Merge pull request APercy#3 from MrRar/main
Browse files Browse the repository at this point in the history
Add support for new automobiles painter
  • Loading branch information
APercy authored Aug 13, 2022
2 parents 1ceaa8b + dbdc51f commit 9d38a80
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ju52_entities.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ minetest.register_entity("ju52:ju52", {
_door_closed = true,
_door_command = 1, --1 close, 0 open

_change_color = function(self, colstr)
airutils.paint(self, colstr, ju52.skin_texture)
end,

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

0 comments on commit 9d38a80

Please sign in to comment.