mirror of
https://github.com/APercy/automobiles_pck
synced 2025-06-18 23:08:01 +02:00
now the pitch value is stored
This commit is contained in:
parent
c5df576fb1
commit
04e27cd042
@ -229,6 +229,7 @@ minetest.register_entity("automobiles_roadster:roadster", {
|
||||
stored_total_laps = self._total_laps,
|
||||
stored_race_id = self._race_id,
|
||||
stored_rag = self._show_rag,
|
||||
stored_pitch = self._pitch,
|
||||
})
|
||||
end,
|
||||
|
||||
@ -246,6 +247,7 @@ minetest.register_entity("automobiles_roadster:roadster", {
|
||||
self._total_laps = data.stored_total_laps
|
||||
self._race_id = data.stored_race_id
|
||||
self._show_rag = data.stored_rag
|
||||
self._pitch = data.stored_pitch
|
||||
end
|
||||
|
||||
self.object:set_animation({x = 1, y = 8}, 0, 0, true)
|
||||
|
Loading…
Reference in New Issue
Block a user