added code for seat markers removal

master
Alexsandro Percy 2021-03-27 19:50:07 -03:00
parent eeb0cb8d87
commit 1a8813ccbd
1 changed files with 2 additions and 0 deletions

View File

@ -179,6 +179,8 @@ function helicopter.destroy(self)
local pos = self.object:get_pos()
if self.pointer then self.pointer:remove() end
if self.pilot_seat_base then self.pilot_seat_base:remove() end
if self.passenger_seat_base then self.passenger_seat_base:remove() end
self.object:remove()