entities.lua

master
Alexsandro Percy 2022-07-03 17:37:50 -03:00
parent 7a4af208de
commit e054616062
1 changed files with 2 additions and 0 deletions

View File

@ -208,6 +208,7 @@ minetest.register_entity("pa28:pa28", {
on_deactivate = function(self)
airutils.save_inventory(self)
minetest.sound_stop(self.sound_handle)
end,
on_activate = function(self, staticdata, dtime_s)
@ -286,6 +287,7 @@ minetest.register_entity("pa28:pa28", {
else
self.inv = inv
end
if self._engine_running then pa28.engineSoundPlay(self) end
end,
--on_step = airutils.stepfunc,