mirror of
https://github.com/APercy/automobiles_pck
synced 2025-07-22 14:28:53 +02:00
fix error on destroying
This commit is contained in:
parent
ccb0ed37b2
commit
da92a02a3a
@ -25,8 +25,8 @@ function roadster.destroy(self, puncher)
|
||||
|
||||
local pos = self.object:get_pos()
|
||||
|
||||
if self.top1 then self.top1:remove() end
|
||||
if self.top2 then self.top2:remove() end
|
||||
if self.rag_rect then self.rag_rect:remove() end
|
||||
if self.rag then self.rag:remove() end
|
||||
if self.front_suspension then self.front_suspension:remove() end
|
||||
if self.lf_wheel then self.lf_wheel:remove() end
|
||||
if self.rf_wheel then self.rf_wheel:remove() end
|
||||
|
Loading…
Reference in New Issue
Block a user