mirror of
https://github.com/APercy/airutils.git
synced 2025-03-15 00:01:20 +00:00
fixed painting by car painter
This commit is contained in:
parent
e344bf136b
commit
0beb2b1077
1 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,7 @@ dofile(minetest.get_modpath("airutils") .. DIR_DELIM .. "lib_planes" .. DIR_DELI
|
|||
|
||||
local S = airutils.S
|
||||
|
||||
function lib_change_color(self, colstr)
|
||||
local function lib_change_color(self, colstr)
|
||||
airutils.param_paint(self, colstr)
|
||||
end
|
||||
|
||||
|
@ -124,6 +124,8 @@ function airutils.on_activate(self, staticdata, dtime_s)
|
|||
if self._flap then airutils.flap_on(self) end
|
||||
|
||||
if self._vehicle_name then airutils.setText(self, self._vehicle_name) end
|
||||
|
||||
self._change_color = lib_change_color
|
||||
end
|
||||
|
||||
function airutils.on_step(self,dtime,colinfo)
|
||||
|
|
Loading…
Add table
Reference in a new issue