aboutsummaryrefslogtreecommitdiff
path: root/advtrains/wagons.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains/wagons.lua')
-rw-r--r--advtrains/wagons.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/advtrains/wagons.lua b/advtrains/wagons.lua
index d5f7949..1b1aa96 100644
--- a/advtrains/wagons.lua
+++ b/advtrains/wagons.lua
@@ -218,6 +218,7 @@ function wagon:destroy()
--atdebug("[wagon ", self.id, "]: destroying")
self.object:remove()
+ return true
end
function wagon:on_step(dtime)